From 0faa10bd129047c427b98d5fb2766f4a5a9ce525 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Thu, 10 Dec 2020 16:02:01 -0500 Subject: [PATCH] these stylesheets are an absolute travesty --- assets/css/common/_blocks.scss | 4 ++-- .../templates/pagination/_pagination.html.slime | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/css/common/_blocks.scss b/assets/css/common/_blocks.scss index bbe9a8fa..9941c388 100644 --- a/assets/css/common/_blocks.scss +++ b/assets/css/common/_blocks.scss @@ -84,7 +84,7 @@ a.block__header--single-item, .block__header a { } } -.block__header a, .block__header > span { +.block__header a, .block__header > span, .header__span { background: $block_header_color; } @@ -96,7 +96,7 @@ a.block__header--single-item, .block__header a { .block__header--light { background: $block_header_light_color; - a, > span { + a, > span, .header__span { background: $block_header_light_color; } diff --git a/lib/philomena_web/templates/pagination/_pagination.html.slime b/lib/philomena_web/templates/pagination/_pagination.html.slime index ba04fa51..f2f26382 100644 --- a/lib/philomena_web/templates/pagination/_pagination.html.slime +++ b/lib/philomena_web/templates/pagination/_pagination.html.slime @@ -41,19 +41,19 @@ .dropdown__content = if left_gap?(@page) do - span.page.gap + span.page.gap.header__span ' … = for number <- left_page_numbers(@page) do = link(number, to: page_path(@route, params, number)) - span.page-current = @page.page_number + span.page-current.header__span = @page.page_number = for number <- right_page_numbers(@page) do = link(number, to: page_path(@route, params, number)) = if right_gap?(@page) do - span.page.gap + span.page.gap.header__span ' … = if last_page?(@page) do