Refactor flex from flex-spread

This commit is contained in:
Daniel_I_Am 2022-06-12 18:36:24 +02:00
parent 37a7fce368
commit 99f5ed5167
2 changed files with 9 additions and 2 deletions

View File

@ -1,8 +1,15 @@
.flex-spread { .flex {
display: flex; display: flex;
}
.flex-spread {
justify-content: space-between; justify-content: space-between;
} }
.flex-center {
justify-content: center;
}
.flex-direction-column { .flex-direction-column {
flex-direction: column; flex-direction: column;
} }

View File

@ -1,7 +1,7 @@
{{ define "main" }} {{ define "main" }}
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
<div class="flex-spread"> <div class="flex flex-spread">
<span>Published on {{ .Date.Format "January 2, 2006" }}</span> <span>Published on {{ .Date.Format "January 2, 2006" }}</span>
<span> <span>
{{ range .Params.Tags }} {{ range .Params.Tags }}