diff --git a/ui/v2.5/src/components/Changelog/versions/v0100.md b/ui/v2.5/src/components/Changelog/versions/v0100.md index f152fa6fa..725ae58a0 100644 --- a/ui/v2.5/src/components/Changelog/versions/v0100.md +++ b/ui/v2.5/src/components/Changelog/versions/v0100.md @@ -24,6 +24,7 @@ * Added sv-SE language option. ([#1691](https://github.com/stashapp/stash/pull/1691)) ### 🐛 Bug fixes +* Fix video player aspect ratio shifting sometimes when clicking scene tabs. ([#1764](https://github.com/stashapp/stash/pull/1764)) * Fix video transcoding process starting before video is played. ([#1780](https://github.com/stashapp/stash/pull/1780)) * Don't scan zero-length files. ([#1779](https://github.com/stashapp/stash/pull/1779)) * Accept svg files in file selector for tag images. ([#1778](https://github.com/stashapp/stash/pull/1778)) diff --git a/ui/v2.5/src/components/ScenePlayer/styles.scss b/ui/v2.5/src/components/ScenePlayer/styles.scss index 30d64dde9..1c23171dd 100644 --- a/ui/v2.5/src/components/ScenePlayer/styles.scss +++ b/ui/v2.5/src/components/ScenePlayer/styles.scss @@ -16,6 +16,13 @@ $sceneTabWidth: 450px; outline: 0; } + /* stylelint-disable */ + .jw-video { + // #1764 - jwplayer sets object-fit: fit in the style. Need to override it. + object-fit: contain !important; + } + /* stylelint-enable */ + .video-wrapper { height: 56.25vw;