| @@ -1,7 +1,10 @@ | ||
| 1 | 1 | body, |
| 2 | 2 | main { |
| 3 | + /* hidden first as a fallback; clip does the same job without turning body | |
| 4 | + into a scroll container, which would break position: sticky above it. */ | |
| 3 | 5 | overflow-x: hidden; |
| 6 | + overflow-x: clip; | |
| 4 | 7 | } |
| 5 | 8 | |
| 6 | 9 | /*noinspection CssOverwrittenProperties*/ |
| 7 | 10 | .king-addons-video-popup { |
| @@ -96,9 +99,10 @@ | ||
| 96 | 99 | height: 0; |
| 97 | 100 | overflow: hidden; |
| 98 | 101 | } |
| 99 | 102 | |
| 100 | -.king-addons-video-popup-container iframe { | |
| 103 | +.king-addons-video-popup-container iframe, | |
| 104 | +.king-addons-video-popup-container video { | |
| 101 | 105 | position: absolute; |
| 102 | 106 | top: 0; |
| 103 | 107 | left: 0; |
| 104 | 108 | width: 100%; |
| @@ -103,8 +107,9 @@ | ||
| 103 | 107 | left: 0; |
| 104 | 108 | width: 100%; |
| 105 | 109 | height: 100%; |
| 106 | 110 | border: 0; |
| 111 | + object-fit: contain; | |
| 107 | 112 | } |
| 108 | 113 | |
| 109 | 114 | /* Button */ |
| 110 | 115 | .king-addons-video-popup-button { |