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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user