Skip to content

Commit 7ffb0a2

Browse files
committed
feat: navigation
1 parent 08a853b commit 7ffb0a2

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

themes/fiptheme/assets/sass/navigation.scss

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,20 @@
99

1010
.o-header__nav {
1111
align-items: center;
12+
display: flex;
13+
justify-content: flex-end;
14+
15+
@include media-breakpoint-up(md) {
16+
display: block;
17+
}
1218
}
1319

1420
.o-header__nav nav {
1521
width: 100%;
1622
display: none;
1723

1824
@include media-breakpoint-up(md) {
19-
display: flex;
25+
display: block;
2026
}
2127
}
2228

@@ -106,4 +112,13 @@
106112
@include media-breakpoint-up(md) {
107113
display: none;
108114
}
115+
}
116+
117+
.o-header__expand-button {
118+
display: none;
119+
120+
@include media-breakpoint-up(md) {
121+
display: flex;
122+
}
123+
109124
}

themes/fiptheme/layouts/partials/menu.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
{{ T "menu-open" }}
1313
<img aria-hidden="true" src="{{ $menuicon.RelPermalink }}" alt="">
1414
</button>
15-
<button class="o-nav__close-button" title="Menü schließen">
16-
{{ T "menu-close" }}
17-
<img aria-hidden="true" src="{{ $closeicon.RelPermalink }}" alt="">
18-
</button>
1915
<nav>
16+
<button class="o-nav__close-button" title="Menü schließen">
17+
{{ T "menu-close" }}
18+
<img aria-hidden="true" src="{{ $closeicon.RelPermalink }}" alt="">
19+
</button>
2020
<menu>
2121
<li class="o-header__item">
2222
<button class="o-header__expand-button" aria-haspopup="true" aria-expanded="false">

0 commit comments

Comments
 (0)