fix: fix formatting of multiline post metadata (#197)

This commit is contained in:
Robert Kaussow 2022-02-07 00:10:30 +01:00 committed by GitHub
parent eb17b172ed
commit d5e0ed0857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 8 deletions

View File

@ -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) }}

View File

@ -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;
}
}