diff options
author | Chocobozzz <me@florianbigard.com> | 2022-12-02 15:31:21 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-12-02 15:31:30 +0100 |
commit | bd09dfaf8dcb0ca4cd5dac9f13e3117486f3bcce (patch) | |
tree | 32fd0d95d6da7b67e1a0cf69e93fdebfb5ec17ff | |
parent | 71e3e879c0616882ee82a0e44f8c2e5ee9698a3e (diff) | |
download | PeerTube-bd09dfaf8dcb0ca4cd5dac9f13e3117486f3bcce.tar.gz PeerTube-bd09dfaf8dcb0ca4cd5dac9f13e3117486f3bcce.tar.zst PeerTube-bd09dfaf8dcb0ca4cd5dac9f13e3117486f3bcce.zip |
Fix player error modal size
-rw-r--r-- | client/src/sass/player/offline-notification.scss | 6 | ||||
-rw-r--r-- | client/src/sass/player/peertube-skin.scss | 4 |
2 files changed, 4 insertions, 6 deletions
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; | |||
14 | justify-content: center; | 14 | justify-content: center; |
15 | align-items: center; | 15 | align-items: center; |
16 | } | 16 | } |
17 | |||
18 | .vjs-modal-dialog | ||
19 | .vjs-modal-dialog-content, | ||
20 | .video-js .vjs-modal-dialog { | ||
21 | top: $height; | ||
22 | } | ||
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 { | |||
202 | } | 202 | } |
203 | } | 203 | } |
204 | 204 | ||
205 | .vjs-modal-dialog-content { | ||
206 | padding-top: 40px !important; | ||
207 | } | ||
208 | |||
205 | // Error display disabled | 209 | // Error display disabled |
206 | .vjs-error:not(.vjs-error-display-enabled) { | 210 | .vjs-error:not(.vjs-error-display-enabled) { |
207 | .vjs-custom-error-display { | 211 | .vjs-custom-error-display { |