From 3a162bda215729607ecb94adc30bac6c838ea5fa Mon Sep 17 00:00:00 2001 From: Kalob Taulien Date: Wed, 11 Aug 2021 11:49:15 -0600 Subject: [PATCH] Half the gap by removing the spacing from the hidden header --- source/sass/views/youtube-regrets-2021.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/sass/views/youtube-regrets-2021.scss b/source/sass/views/youtube-regrets-2021.scss index 4bdb83bbfe2..0bcfa405819 100644 --- a/source/sass/views/youtube-regrets-2021.scss +++ b/source/sass/views/youtube-regrets-2021.scss @@ -378,6 +378,16 @@ } } } + + /* Make the "gap" between the drawer content and the "Close" button smaller on mobile and tablets */ + @media (max-width: $bp-md) { + &.is-open { + .h2-heading { + max-height: 0; + overflow: hidden; + } + } + } } &__mask {