From 6290f625cc9fb79ddee79b699907ed6d3b5d6747 Mon Sep 17 00:00:00 2001 From: Chris Lawton <chris.lawton@torchbox.com> Date: Wed, 23 Jan 2019 16:46:07 +0000 Subject: [PATCH] allow for scrolling the listings on mobile --- opentech/static_src/src/app/src/components/Listing/style.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/opentech/static_src/src/app/src/components/Listing/style.scss b/opentech/static_src/src/app/src/components/Listing/style.scss index 97b57fb30..af322e216 100644 --- a/opentech/static_src/src/app/src/components/Listing/style.scss +++ b/opentech/static_src/src/app/src/components/Listing/style.scss @@ -12,10 +12,12 @@ // containing <ul> &__list { + overflow-y: scroll; + height: calc(100vh - #{$listing-header-height}); + @include media-query(tablet-landscape) { // only allow columns to be scrolled on larger screens height: calc(100vh - var(--header-admin-height) - #{$listing-header-height}); - overflow-y: scroll; } @include media-query(laptop-short) { -- GitLab