mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-21 20:50:40 +00:00
fix: fix formatting of multiline post metadata (#197)
This commit is contained in:
parent
eb17b172ed
commit
d5e0ed0857
@ -33,7 +33,9 @@
|
||||
{{ template "post-author" dict "name" $author.name "page" . }}
|
||||
</span>
|
||||
{{ else }}
|
||||
{{ template "post-author" dict "name" $author.name "page" . }}
|
||||
<span class="flex align-center">
|
||||
{{ template "post-author" dict "name" $author.name "page" . }}
|
||||
</span>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ $ac = (add $ac 1) }}
|
||||
@ -51,7 +53,9 @@
|
||||
{{ template "post-tag" dict "name" $name "page" . }}
|
||||
</span>
|
||||
{{ else }}
|
||||
{{ template "post-tag" dict "name" $name "page" . }}
|
||||
<span class="flex align-center">
|
||||
{{ template "post-tag" dict "name" $name "page" . }}
|
||||
</span>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ $tc = (add $tc 1) }}
|
||||
|
@ -312,7 +312,7 @@ img {
|
||||
}
|
||||
|
||||
&__readmore {
|
||||
margin: $padding-16 0;
|
||||
margin: $padding-32 0;
|
||||
|
||||
a:visited {
|
||||
color: var(--link-color);
|
||||
@ -396,12 +396,15 @@ img {
|
||||
}
|
||||
|
||||
&__meta {
|
||||
span:first-child .icon {
|
||||
span .icon {
|
||||
margin-left: -5px;
|
||||
}
|
||||
|
||||
:not(:first-child).no-wrap {
|
||||
margin-left: $padding-8;
|
||||
> span {
|
||||
margin: $padding-4 0;
|
||||
&:not(:last-child) {
|
||||
margin-right: $padding-8;
|
||||
}
|
||||
}
|
||||
|
||||
.icon {
|
||||
@ -409,11 +412,11 @@ img {
|
||||
}
|
||||
|
||||
.gblog-button {
|
||||
margin-left: $padding-4;
|
||||
margin: 0 $padding-2 0 0;
|
||||
}
|
||||
|
||||
&--head {
|
||||
padding-bottom: $padding-16;
|
||||
margin-bottom: $padding-32;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user