Final(?) iOS cope
| @@ -0,0 +1,8 @@ | |||
| 1 | /* iPhone copium land */ | ||
| 2 | @media screen and (max-width: 1000px) { | ||
| 3 | .ios .popup .popup-body { | ||
| 4 | height: fit-content; | ||
| 5 | max-height: 95vh; | ||
| 6 | max-height: 95svh; | ||
| 7 | } | ||
| 8 | } | ||
| @@ -1,3 +1,5 @@ | |||
| 1 | @import url('./popup-safari-fix.css'); | ||
| 2 | |||
| 1 | dialog { | 3 | dialog { |
| 2 | color: var(--SmartThemeBodyColor); | 4 | color: var(--SmartThemeBodyColor); |
| 3 | } | 5 | } |
| @@ -171,10 +173,3 @@ body.no-blur .popup[open]::backdrop { | |||
| 171 | backface-visibility: hidden; | 173 | backface-visibility: hidden; |
| 172 | } | 174 | } |
| 173 | 175 | ||
| 174 | @media screen and (max-width: 1000px) { | ||
| 175 | .popup .popup-body { | ||
| 176 | height: fit-content; | ||
| 177 | max-height: 95vh; | ||
| 178 | max-height: 95svh; | ||
| 179 | } | ||
| 180 | } | ||
| @@ -725,6 +725,10 @@ export function initRossMods() { | |||
| 725 | RA_autoconnect(); | 725 | RA_autoconnect(); |
| 726 | } | 726 | } |
| 727 | 727 | ||
| 728 | if (getParsedUA()?.os?.name === 'iOS') { | ||
| 729 | document.body.classList.add('ios'); | ||
| 730 | } | ||
| 731 | |||
| 728 | $('#main_api').change(function () { | 732 | $('#main_api').change(function () { |
| 729 | var PrevAPI = main_api; | 733 | var PrevAPI = main_api; |
| 730 | setTimeout(() => RA_autoconnect(PrevAPI), 100); | 734 | setTimeout(() => RA_autoconnect(PrevAPI), 100); |