瀏覽代碼

Heiwa: Update navigation width (#6573)

Heiwa: Update navigation width
Takashi Irie 2 年之前
父節點
當前提交
a1e6b4af5c
共有 1 個文件被更改,包括 13 次插入0 次删除
  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);
+}