From 70e218bdbd1ac7dd4ca40eff6e2c61332e180d76 Mon Sep 17 00:00:00 2001 From: "Jocelyn Badgley (Twipped)" Date: Tue, 1 Dec 2020 11:42:43 -0800 Subject: [PATCH] Fix pager on mobile --- scss/_pager.scss | 11 +++++++++-- templates/page.hbs | 8 ++++---- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/scss/_pager.scss b/scss/_pager.scss index 4aab5b1..f276211 100644 --- a/scss/_pager.scss +++ b/scss/_pager.scss @@ -26,17 +26,24 @@ width: 100%; // min-width: 75%; display: flex; + height: 36px; + max-width: calc(50vw - 10px); + + .caption { + overflow-x: hidden; + } } - .btn.left { + .btn.left .caption { justify-content: flex-start; } - .btn.right { + .btn.right .caption { justify-content: flex-end; } span.svg-icon { margin-top: 1px; + flex: 0 0 20px; } } diff --git a/templates/page.hbs b/templates/page.hbs index 4e0ca08..a0cf926 100644 --- a/templates/page.hbs +++ b/templates/page.hbs @@ -28,10 +28,10 @@ {{#if siblings}}
- - - - + + + +
{{/if}}