Skip to content

Commit e6b4009

Browse files
committed
feat: rem & em units add
1 parent 5c0ff49 commit e6b4009

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

assets-src/styles/sass/50-core-components/_navigation.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88

99
#global-nav {
1010
display: block;
11-
padding-bottom: 1.6em;
12-
padding-top: 1.6em;
11+
padding-bottom: em(26);
12+
padding-top: em(26);
1313
}
1414

1515
.global-nav__inner {
1616
align-items: center;
1717
display: flex;
1818
flex-wrap: wrap;
19-
gap: 3em;
19+
gap: em(48);
2020

2121
@include mq($max-width) {
2222
flex-wrap: nowrap;
@@ -112,7 +112,7 @@ li.top-nav-item + li.top-nav-item {
112112
height: 100%;
113113
pointer-events: none;
114114
position: absolute;
115-
right: -1.5em;
115+
right: rem(-24);
116116
top: 0;
117117
}
118118

0 commit comments

Comments
 (0)