From 621afcf02d45e4e64fc8bd10756f207957a35d73 Mon Sep 17 00:00:00 2001 From: Matthew Oliveira Date: Wed, 18 Jan 2023 17:08:31 -0500 Subject: [PATCH] fix(carousel): show gradient peek for mobile breaks --- .../_lightbox-media-viewer.scss | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/styles/scss/components/lightbox-media-viewer/_lightbox-media-viewer.scss b/packages/styles/scss/components/lightbox-media-viewer/_lightbox-media-viewer.scss index 5873ef145a9..3ed89bd20ed 100644 --- a/packages/styles/scss/components/lightbox-media-viewer/_lightbox-media-viewer.scss +++ b/packages/styles/scss/components/lightbox-media-viewer/_lightbox-media-viewer.scss @@ -54,17 +54,17 @@ :host(#{$dds-prefix}-lightbox-media-viewer) { @include carbon--breakpoint-down('lg') { + padding-bottom: $spacing-07; + &::before, &::after { - @include carbon--breakpoint('md') { - padding-top: 0; - content: ''; - display: block; - position: sticky; - height: $spacing-07; - width: 100%; - z-index: 1; - } + padding-top: 0; + content: ''; + display: block; + position: sticky; + height: $spacing-07; + width: 100%; + z-index: 1; } &::before {