Skip to content

Commit

Permalink
fix(carousel): show gradient peek for mobile breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
m4olivei committed Jan 18, 2023
1 parent 2cbd520 commit 621afcf
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 621afcf

Please sign in to comment.