From ce902fe1f83d54a862d58113a8d530802e8d8255 Mon Sep 17 00:00:00 2001 From: Ben Halpern Date: Tue, 27 Jun 2023 15:39:29 -0400 Subject: [PATCH] Only apply overflow conditions to billboard cards (#19649) --- app/assets/stylesheets/components/cards.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/components/cards.scss b/app/assets/stylesheets/components/cards.scss index 6159ac905..dac26d2ec 100644 --- a/app/assets/stylesheets/components/cards.scss +++ b/app/assets/stylesheets/components/cards.scss @@ -13,8 +13,10 @@ background: var(--card-bg); color: var(--card-secondary-color); box-shadow: 0 0 0 1px var(--card-secondary-border); - max-height: calc(100vh - var(--header-height) - 2*var(--layout-padding)); - overflow: auto; + &.billboard { + max-height: calc(100vh - var(--header-height) - 2*var(--layout-padding)); + overflow: auto; + } } &--elevated {