Videos: Reduce horizontal margin of player in non-fullscreen mode

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2023-09-04 06:30:19 +02:00
parent 93408db052
commit 0890c547af

View file

@ -431,8 +431,8 @@ export class Photo extends RestModel {
let width = actualWidth;
let height = actualHeight;
if (vw < width + 100) {
let newWidth = vw - 110;
if (vw < width + 90) {
let newWidth = vw - 100;
height = Math.round(newWidth * (actualHeight / actualWidth));
width = newWidth;
}