1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-02 06:32:07 +02:00

fix: use backup styles when inset is not supported (#8844)

## 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
This commit is contained in:
Carlos Javier Villaseñor Castillo 2024-08-26 15:49:19 -06:00 committed by GitHub
parent 3e9e4e8beb
commit 1d771d9be8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;