Skip to content

Commit 5c0ff49

Browse files
committed
feat: adjust global navigation padding and add separator styles
1 parent 5d45b7d commit 5c0ff49

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

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

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

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

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

2121
@include mq($max-width) {
2222
flex-wrap: nowrap;
@@ -103,6 +103,18 @@ li.top-nav-item + li.top-nav-item {
103103

104104
@include mq($max-width) {
105105
position: relative;
106+
107+
&::after {
108+
border: rem(1) solid $black;
109+
border-radius: rem(8);
110+
content: '';
111+
display: block;
112+
height: 100%;
113+
pointer-events: none;
114+
position: absolute;
115+
right: -1.5em;
116+
top: 0;
117+
}
106118

107119
&::before {
108120
background-color: $w3c-blue;

0 commit comments

Comments
 (0)