Videos: Reduce horizontal margin of player in non-fullscreen mode
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
93408db052
commit
0890c547af
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue