| @@ -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-popup { |
| @@ -33,15 +36,15 @@ | ||
| 33 | 36 | .king-addons-popup-close-button { |
| 34 | 37 | line-height: 1; |
| 35 | 38 | position: absolute; |
| 36 | 39 | z-index: 999; |
| 37 | - top: 0; | |
| 38 | - right: 0; | |
| 40 | + top: 10px; | |
| 41 | + right: 10px; | |
| 39 | 42 | bottom: 0; |
| 40 | 43 | display: block; |
| 41 | 44 | width: min-content; |
| 42 | 45 | height: min-content; |
| 43 | - padding: 10px; | |
| 46 | + padding: 0; | |
| 44 | 47 | cursor: pointer; |
| 45 | 48 | } |
| 46 | 49 | |
| 47 | 50 | .king-addons-popup-animation-fade { |