Jelajahi Sumber

Heiwa: Update navigation width (#6573)

Heiwa: Update navigation width
Takashi Irie 2 tahun lalu
induk
melakukan
a1e6b4af5c
1 mengubah file dengan 13 tambahan dan 0 penghapusan
  1. 13 0
      heiwa/assets/theme.css

+ 13 - 0
heiwa/assets/theme.css

@@ -0,0 +1,13 @@
+/**
+ * We need this until https://github.com/WordPress/gutenberg/issues/44182 gets resolved
+ */
+.wp-block-navigation__responsive-close {
+	max-width: none;
+}
+
+/**
+ * Override the default padding value from Gutenberg to avoid the icon jumping
+ */
+.wp-block-navigation__responsive-container.is-menu-open {
+	padding-top: var(--wp--custom--gap--vertical);
+}