Skip to content

Commit 3dde2f6

Browse files
committed
fix: use gap on navigationY
1 parent 8a390ad commit 3dde2f6

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

packages/styles/src/layouts/_navigationY.scss

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
//
1919
// @group Statuses
2020
&:not(.#{utils.$prefix-default}--sub) {
21+
@layer defaults {
22+
& {
23+
gap: 1rem;
24+
}
25+
}
26+
2127
@include utils.flex-box(column, nowrap, space-between, center);
2228
ul.#{utils.$layout-navigation-y}-menu-list,
2329
ol.#{utils.$layout-navigation-y}-menu-list {
@@ -45,14 +51,13 @@
4551
ul,
4652
ol {
4753
&.#{utils.$layout-navigation-y}-menu-list {
48-
@include utils.flex-box(column, nowrap, center, flex-start);
49-
50-
&,
51-
> * {
52-
&:not(:first-child) {
53-
margin-top: 1rem;
54+
@layer defaults {
55+
& {
56+
gap: 1rem;
5457
}
5558
}
59+
60+
@include utils.flex-box(column, nowrap, center, flex-start);
5661
}
5762
}
5863
}

0 commit comments

Comments
 (0)