Refactor flex from flex-spread
This commit is contained in:
parent
37a7fce368
commit
99f5ed5167
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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 }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user