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

uci-hugo-doc
Robert Kaussow 2022-02-07 13:52:12 +01:00 committed by GitHub
parent e97cddfd2a
commit cd9ab9e48e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 7 deletions

View File

@ -26,7 +26,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

@ -467,7 +467,7 @@ img {
}
&__readmore {
margin: $padding-16 0;
margin: $padding-32 0;
a,
a:hover,
@ -478,12 +478,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 {
@ -491,11 +494,11 @@ img {
}
.gdoc-button {
margin-left: $padding-4;
margin: 0 $padding-2 0 0;
}
&--head {
padding-bottom: $padding-16;
margin-bottom: $padding-32;
}
}