perf(posts): improve core block bottom padding

Fixes the relative position between the bottoms of the core-wrapper and the ToC (caused by b405a58)
This commit is contained in:
Cotes Chung 2022-10-06 02:01:17 +08:00
parent 39da11e3f3
commit d2fb98b3e5
No known key found for this signature in database
GPG key ID: 0D9E54843167A808
2 changed files with 6 additions and 2 deletions

View file

@ -9,7 +9,7 @@ layout: default
<div class="row">
<!-- core -->
<div id="core-wrapper" class="col-12 col-lg-11 col-xl-9 pr-xl-4 pb-5">
<div id="core-wrapper" class="col-12 col-lg-11 col-xl-9 pr-xl-4">
<div class="post pl-1 pr-1 pl-md-2 pr-md-2">
{% capture _content %}
@ -55,7 +55,7 @@ layout: default
<!-- tail -->
{% if layout.tail_includes %}
<div class="row">
<div id="tail-wrapper" class="col-12 col-lg-11 col-xl-9 pl-3 pr-3 pr-xl-4">
<div id="tail-wrapper" class="col-12 col-lg-11 col-xl-9 pl-3 pr-3 pr-xl-4 mt-5">
{% for _include in layout.tail_includes %}
{% assign _include_path = _include | append: '.html' %}
{% include {{ _include_path }} %}

View file

@ -1049,6 +1049,10 @@ $sidebar-display: "sidebar-display";
@extend %no-bottom-border;
}
}
@at-root .row:only-child > #{&} {
padding-bottom: 3rem;
}
}
#mask {