Skip to content

Commit

Permalink
chore: remove opacity for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristiaanScheermeijer committed Jul 16, 2024
1 parent a965cbc commit fd8ab07
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions packages/ui-react/src/components/Shelf/Shelf.module.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@use '@jwp/ott-ui-react/src/styles/mixins/responsive';
@use '@jwp/ott-ui-react/src/styles/theme';

.shelf {
Expand Down Expand Up @@ -42,18 +43,16 @@
white-space: initial;
}

li {
opacity: 1;
transition: opacity 1s ease;
@include responsive.tablet-and-larger() {
li {
opacity: 1;
transition: opacity 0.2s ease;

&:global(.TileSlider--hidden) {
opacity: 0.5;
&:global(.TileSlider--hidden) {
opacity: 0.5;
}
}
}

&:global(.TileSlider--sliding) li {
opacity: 1;
}
}

.chevron {
Expand Down

0 comments on commit fd8ab07

Please sign in to comment.