1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

perf(layout): improve margins for tail block (#1243)

Keeps the margin of the elements in the tail area consistent regardless of the number of siblings, or if a <script> is inserted.
This commit is contained in:
Cotes Chung
2023-09-18 03:26:02 +08:00
committed by GitHub
parent e78f67d354
commit 13a3c3c906
4 changed files with 18 additions and 17 deletions

View File

@@ -346,21 +346,13 @@ h1 + .post-meta {
}
}
#tail-wrapper {
min-height: 2rem;
/* stylelint-disable-next-line selector-id-pattern */
#disqus_thread {
min-height: 8.5rem;
}
> *:not(:last-child) {
margin-top: 3rem;
}
> *:nth-last-child(2) {
margin-bottom: 3rem;
}
/* stylelint-disable-next-line selector-id-pattern */
#disqus_thread {
min-height: 8.5rem;
}
.utterances {
max-width: 100%;
}
%btn-share-hovor {