Skip to content

Commit f0a1669

Browse files
author
Felix Hennig
committed
cleanup
1 parent f9d52e7 commit f0a1669

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed

src/css/base.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ body ::-webkit-scrollbar-thumb {
137137
}
138138

139139
.m-0 {
140-
margin: 0px;
140+
margin: 0;
141141
}
142142

143143
.justify-between {

src/css/header.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,10 @@ body {
283283
transition: max-height 0.2s ease, padding 0.2s ease;
284284
}
285285

286+
.navbar-sub .navlinks {
287+
flex-direction: column;
288+
}
289+
286290
.navbar-sub .drop-down-content {
287291
display: inherit;
288292
position: inherit;

src/partials/header-content.hbs

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</nav>
2525
<nav id="navbar-sub" class="navbar-sub">
2626
<div class="container justify-between">
27-
<div class="flex flex-col m-0">
27+
<div class="navlinks flex m-0">
2828
{{#> navbar }}
2929
navbar.hbs partial not found - you're seeing failover content
3030
<a class="navbar-sub-item" href="#">Home</a>
@@ -40,20 +40,18 @@
4040
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="arrow-right" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"></path></svg>
4141
</a>
4242
</div>
43-
<div class="flex flex-col m-0">
44-
{{#with @root.page.versions}}
45-
<div class="page-versions">
46-
<button class="version-menu-toggle" title="Show other versions of page">{{@root.page.componentVersion.displayVersion}}</button>
47-
<div class="version-menu">
48-
{{#each this}}
49-
<a class="version
50-
{{~#if (eq ./version @root.page.version)}} is-current{{/if~}}
51-
{{~#if ./missing}} is-missing{{/if}}" href="{{{relativize ./url}}}">{{./displayVersion}}</a>
52-
{{/each}}
53-
</div>
43+
{{#with @root.page.versions}}
44+
<div class="page-versions">
45+
<button class="version-menu-toggle" title="Show other versions of page">{{@root.page.componentVersion.displayVersion}}</button>
46+
<div class="version-menu">
47+
{{#each this}}
48+
<a class="version
49+
{{~#if (eq ./version @root.page.version)}} is-current{{/if~}}
50+
{{~#if ./missing}} is-missing{{/if}}" href="{{{relativize ./url}}}">{{./displayVersion}}</a>
51+
{{/each}}
5452
</div>
55-
{{/with}}
5653
</div>
54+
{{/with}}
5755
</div>
5856
</nav>
5957
</header>

0 commit comments

Comments
 (0)