Skip to content

Commit

Permalink
refactor: make sure there is space at the bottom of core block
Browse files Browse the repository at this point in the history
  • Loading branch information
cotes2020 committed Aug 9, 2022
1 parent d792a2f commit b405a58
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _includes/post-paginator.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
The paginator for post list on HomgPage.
-->

<ul class="pagination align-items-center mt-4 mb-5 pl-lg-2">
<ul class="pagination align-items-center mt-4 pl-lg-2">
<!-- left arrow -->
{% if paginator.previous_page %}
{% assign prev_url = paginator.previous_page_path | relative_url %}
Expand Down
4 changes: 2 additions & 2 deletions _includes/related-posts.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
{% endif %}

{% if index_list.size > 0 %}
<div id="related-posts" class="mt-5 mb-2 mb-sm-4">
<h3 class="pt-2 mt-1 mb-4 ml-1"
<div id="related-posts" class="mb-2 mb-sm-4">
<h3 class="pt-2 mb-4 ml-1"
data-toc-skip>{{ site.data.locales[lang].post.relate_posts }}</h3>
<div class="card-deck mb-4">
{% for entry in index_list %}
Expand Down
2 changes: 1 addition & 1 deletion _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="row">

<!-- core -->
<div id="core-wrapper" class="col-12 col-lg-11 col-xl-9 pr-xl-4">
<div id="core-wrapper" class="col-12 col-lg-11 col-xl-9 pr-xl-4 pb-5">
<div class="post pl-1 pr-1 pl-md-2 pr-md-2">

{% capture _content %}
Expand Down

0 comments on commit b405a58

Please sign in to comment.