mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-22 04:40:40 +00:00
fix: fix formatting of multiline post metadata (#333)
This commit is contained in:
parent
e97cddfd2a
commit
cd9ab9e48e
@ -26,7 +26,9 @@
|
||||
{{ template "post-tag" dict "name" $name "page" . }}
|
||||
</span>
|
||||
{{ else }}
|
||||
<span class="flex align-center">
|
||||
{{ template "post-tag" dict "name" $name "page" . }}
|
||||
</span>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ $tc = (add $tc 1) }}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user