From edc77236c708ca248f0c9b2139bf7e2a49dbf736 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Fri, 21 May 2021 16:01:52 +0300 Subject: [PATCH] Some improvements to pagination in dark mode --- assets/css/app.css | 2 +- lib/plausible_web/templates/site/index.html.eex | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/css/app.css b/assets/css/app.css index b68003678..58376b8b2 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -308,5 +308,5 @@ iframe[hidden] { } .pagination-link[disabled] { - @apply cursor-default bg-gray-100 pointer-events-none; + @apply cursor-default bg-gray-100 dark:bg-gray-300 pointer-events-none; } diff --git a/lib/plausible_web/templates/site/index.html.eex b/lib/plausible_web/templates/site/index.html.eex index 192ed4588..dc5e9367c 100644 --- a/lib/plausible_web/templates/site/index.html.eex +++ b/lib/plausible_web/templates/site/index.html.eex @@ -40,9 +40,9 @@ <%= if @pagination.total_pages > 1 do %> <%= pagination @conn, @pagination, [current_class: "is-current"], fn p -> %> -