소스 검색

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);
+}