Sfoglia il codice sorgente

Heiwa: Update navigation width (#6573)

Heiwa: Update navigation width
Takashi Irie 2 anni fa
parent
commit
a1e6b4af5c
1 ha cambiato i file con 13 aggiunte e 0 eliminazioni
  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);
+}