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

fix(ui): min-height of page layout exceeds the mobile screen

This commit is contained in:
Cotes Chung
2023-05-20 05:26:12 +08:00
parent f6bf6d0864
commit 73af59194a
5 changed files with 16 additions and 11 deletions

View File

@@ -40,7 +40,16 @@ refactor: true
{% endfor %}
{% endif %}
<div id="post-list">
{% if paginator.total_pages > 1 %}
{% assign has_paginator = true %}
{% endif %}
<div
id="post-list"
{% unless has_paginator %}
class="mb-5"
{% endunless %}
>
{% for post in posts %}
<a href="{{ post.url | relative_url }}" class="card-wrapper">
<div class="card post-preview flex-md-row-reverse">
@@ -105,6 +114,6 @@ refactor: true
</div>
<!-- #post-list -->
{% if paginator.total_pages > 1 %}
{% if has_paginator %}
{% include post-paginator.html %}
{% endif %}