Skip to content

Commit

Permalink
fix(player): only apply default aspect ratio to video view
Browse files Browse the repository at this point in the history
closes #1034
  • Loading branch information
mihar-22 committed Dec 2, 2023
1 parent 1d14933 commit 9b95a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vidstack/player/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
user-select: none;
}

:where([data-media-player]) {
:where([data-media-player][data-view-type='video']) {
aspect-ratio: 16 / 9;
}

Expand Down

0 comments on commit 9b95a50

Please sign in to comment.