Skip to content

Commit

Permalink
Merge pull request #12 from nicufarmache/bugfix/slider-element-visibl…
Browse files Browse the repository at this point in the history
…e-outside-container-in-safari

Fixed slider visible outside container
  • Loading branch information
nicufarmache committed Mar 5, 2023
2 parents 59e42d0 + af96c5b commit a0ba585
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/big-slider-card.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/big-slider-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,7 @@ export class BigSliderCard extends GestureEventListeners(LitElement) {
position: relative;
overflow: hidden;
background: var(--card-background-color);
z-index: 1; //fix safari bug with filter transition https://stackoverflow.com/a/27935035
}
.hide {
Expand Down

0 comments on commit a0ba585

Please sign in to comment.