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 {