From 9e567d828a8af58edd46aec78b6be79e7a0adc3e Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 3 Mar 2024 22:02:38 +0200 Subject: [PATCH] align top pagination with the other buttons --- files/assets/css/main.css | 3 +++ files/templates/home.html | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 51309d027..04eb821de 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -1583,6 +1583,9 @@ nav border-top-right-radius: 0.2rem; border-bottom-right-radius: 0.2rem; } +.pagination-smaller .page-link { + font-size: min(18px, 5.8vw); +} .badge { display: inline-block; padding: 0.25em 0.4em; diff --git a/files/templates/home.html b/files/templates/home.html index cb308c0f1..00fe2a1ae 100644 --- a/files/templates/home.html +++ b/files/templates/home.html @@ -93,9 +93,9 @@ {% endblock %} - {% if (SITE_NAME == 'WPD' or SITE == 'devrama.net') and listing %} + {% if SITE_NAME == 'WPD' and listing %}
- {{macros.pagination("pl-1 pt-3 pb-3")}} + {{macros.pagination("pagination-smaller pl-1 pt-3 pb-3")}}
{% endif %}