From abea879e68a16f2f474a1e83ef07a503eb31cdca Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 20 Sep 2020 17:02:35 +0530 Subject: [PATCH] css: pagination buttons * does same job with less code --- assets/css/main.css | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index 64bf5629..0383d759 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -32,17 +32,11 @@ line-height: 36px; background: var(--primary); border-radius: calc(36px / 2); -} - -.pagination .prev { - padding-left: 16px; - padding-right: 18px; + padding: 0 16px; } .pagination .next { margin-left: auto; - padding-left: 18px; - padding-right: 16px; } .toc { @@ -73,4 +67,4 @@ .toc li ul { margin-left: var(--gap); -} +} \ No newline at end of file