Skip to content

Commit

Permalink
fix: use backup styles when inset is not supported (#8844)
Browse files Browse the repository at this point in the history
## Description
Small fix to use backup styles only when inset is not supported.

## Specific Changes proposed
Use backup styles only when inset is not supported.

## Requirements Checklist
- [x] Feature implemented / Bug fixed
  • Loading branch information
CarlosVillasenor authored Aug 26, 2024
1 parent 3e9e4e8 commit 1d771d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/css/components/_text-track.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ video::-webkit-media-text-track-display {
width: 80% !important;
}

@supports (inset: 10px) {
@supports not (inset: 10px) {
.video-js .vjs-text-track-display > div {
top: 0;
right: 0;
Expand Down

0 comments on commit 1d771d9

Please sign in to comment.