Skip to content

Commit 4c4c650

Browse files
committed
fix: update item size
1 parent e752af2 commit 4c4c650

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/components/lab/Menu/MenuItem.scss

+6-4
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ $b: '.#{variables.$ns}menu2-item';
3737

3838
&::after,
3939
&__arrow {
40+
display: flex;
41+
align-items: center;
4042
position: relative;
4143
inset-inline-start: var(--_--submenu-icon-shift);
4244
margin-inline-start: auto;
@@ -122,18 +124,18 @@ $b: '.#{variables.$ns}menu2-item';
122124
}
123125

124126
&_l {
125-
--_--min-height: 36px;
127+
--_--min-height: 32px;
126128
--_--padding-block: 8px;
127-
--_--padding-inline: 16px;
129+
--_--padding-inline: 12px;
128130
--_--border-radius: var(--g-border-radius-m);
129131
--_--icon-size: 16px;
130132
--_--icon-offset: 6px;
131133
--_--submenu-icon-shift: 8px;
132134
}
133135

134136
&_xl {
135-
--_--min-height: 44px;
136-
--_--padding-block: 12px;
137+
--_--min-height: 36px;
138+
--_--padding-block: 8px;
137139
--_--padding-inline: 16px;
138140
--_--border-radius: var(--g-border-radius-l);
139141
--_--icon-size: 20px;

0 commit comments

Comments
 (0)