Skip to content

Commit 184e5c6

Browse files
author
Felix Hennig
committed
some cleanup
1 parent d047750 commit 184e5c6

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

src/css/base.css

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,20 @@ body ::-webkit-scrollbar-thumb {
126126
margin: 0 auto;
127127
}
128128

129-
.container2 {
129+
/** pseudo-tailwind classes */
130+
131+
.flex {
130132
display: flex;
131-
margin: 0 0;
132133
}
133134

134-
.space-between {
135+
.flex-col {
136+
flex-direction: column;
137+
}
138+
139+
.m-0 {
140+
margin: 0px;
141+
}
142+
143+
.justify-between {
135144
justify-content: space-between;
136145
}

src/css/header.css

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

286-
.navbar-sub .container2 {
287-
flex-direction: column;
288-
}
289-
290286
.navbar-sub .drop-down-content {
291287
display: inherit;
292288
position: inherit;

src/partials/header-content.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
</div>
2424
</nav>
2525
<nav id="navbar-sub" class="navbar-sub">
26-
<div class="container space-between">
27-
<div class="container2">
26+
<div class="container justify-between">
27+
<div class="flex flex-col 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,7 +40,7 @@
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="container2">
43+
<div class="flex flex-col m-0">
4444
{{#with @root.page.versions}}
4545
<div class="page-versions">
4646
<button class="version-menu-toggle" title="Show other versions of page">{{@root.page.componentVersion.displayVersion}}</button>

0 commit comments

Comments
 (0)