From bd09dfaf8dcb0ca4cd5dac9f13e3117486f3bcce Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 2 Dec 2022 15:31:21 +0100 Subject: Fix player error modal size --- client/src/sass/player/offline-notification.scss | 6 ------ client/src/sass/player/peertube-skin.scss | 4 ++++ 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'client/src/sass') diff --git a/client/src/sass/player/offline-notification.scss b/client/src/sass/player/offline-notification.scss index 2108c2e30..450c95bbc 100644 --- a/client/src/sass/player/offline-notification.scss +++ b/client/src/sass/player/offline-notification.scss @@ -14,9 +14,3 @@ $height: 40px; justify-content: center; align-items: center; } - -.vjs-modal-dialog -.vjs-modal-dialog-content, -.video-js .vjs-modal-dialog { - top: $height; -} diff --git a/client/src/sass/player/peertube-skin.scss b/client/src/sass/player/peertube-skin.scss index d4c43ff68..4df8dbaf0 100644 --- a/client/src/sass/player/peertube-skin.scss +++ b/client/src/sass/player/peertube-skin.scss @@ -202,6 +202,10 @@ body { } } +.vjs-modal-dialog-content { + padding-top: 40px !important; +} + // Error display disabled .vjs-error:not(.vjs-error-display-enabled) { .vjs-custom-error-display { -- cgit v1.2.3