We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f3aa2f commit c6c1438Copy full SHA for c6c1438
packages/block-library/src/navigation/style.scss
@@ -78,20 +78,27 @@
78
79
// Submenu indicator.
80
.wp-block-navigation__submenu-icon {
81
- align-self: center;
82
- height: inherit;
+ align-self: center; // This one affects nested submenu indicators.
83
line-height: 0;
84
- margin-left: 6px;
+ display: inline-block;
+ vertical-align: middle;
85
86
// Affect the button as well.
87
padding: 0;
88
background-color: inherit;
89
color: currentColor;
90
border: none;
91
92
+ // Scale to font size.
93
+ margin-left: 0.25em;
94
+ width: 0.6em;
95
+ height: 0.6em;
96
+
97
svg {
98
display: inline-block;
99
stroke: currentColor;
100
+ width: inherit;
101
+ height: inherit;
102
}
103
104
0 commit comments