From dc81ff156c64066a15e04a19ebe9b61e1bea6de5 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Wed, 13 Apr 2022 10:48:18 +0500 Subject: [PATCH] revert previous commit + trim code --- themes/lumbung-theme/static/css/main.css | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/themes/lumbung-theme/static/css/main.css b/themes/lumbung-theme/static/css/main.css index c64195d..1e38547 100644 --- a/themes/lumbung-theme/static/css/main.css +++ b/themes/lumbung-theme/static/css/main.css @@ -735,10 +735,9 @@ li.page-item.disabled { display: none; } -li.page-item[aria-label="Next"], -li.page-item[aria-label="Previous"], -li.page-item[aria-label="First"], -li.page-item[aria-label="Last"] { +li.page-item:first-child, +li.page-item:last-child, +li.page-item:nth-last-child(2) { border: none; text-decoration: none; } @@ -746,15 +745,7 @@ li.page-item[aria-label="Last"] { li.page-item:first-child::before, li.page-item:first-child::after, li.page-item:last-child::before, -li.page-item:last-child::after { - display: none; -} - -li.page-item:nth-last-child(2) { - border: none; - text-decoration: none; -} - +li.page-item:last-child::after, li.page-item:nth-last-child(2)::before, li.page-item:nth-last-child(2)::after { display: none;