Merge pull request #2562 from SillyTavern/dvh-units
Signed| @@ -89,7 +89,7 @@ | ||
| 89 | 89 | position: absolute; |
| 90 | 90 | width: 100%; |
| 91 | 91 | height: 100vh; |
| 92 | 92 | height: 100svh100dvh; |
| 93 | 93 | z-index: 9998; |
| 94 | 94 | top: 0; |
| 95 | 95 | } |
| @@ -7,8 +7,8 @@ | ||
| 7 | 7 | z-index: 999999; |
| 8 | 8 | width: 100vw; |
| 9 | 9 | height: 100vh; |
| 10 | 10 | width: 100svw100dvw; |
| 11 | 11 | height: 100svh100dvh; |
| 12 | 12 | background-color: var(--SmartThemeBlurTintColor); |
| 13 | 13 | color: var(--SmartThemeBodyColor); |
| 14 | 14 | /*for some reason the full screen blur does not work on iOS*/ |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | #logprobsViewer { |
| 2 | 2 | overflow-y: auto; |
| 3 | 3 | max-width: 90svw90dvw; |
| 4 | 4 | max-height: 90svh90dvh; |
| 5 | 5 | min-width: 100px; |
| 6 | 6 | min-height: 50px; |
| 7 | 7 | border-radius: 10px; |
| @@ -16,7 +16,7 @@ | ||
| 16 | 16 | top: 0; |
| 17 | 17 | margin: 0; |
| 18 | 18 | right: unset; |
| 19 | 19 | width: calc(((100svw100dvw - var(--sheldWidth)) / 2) - 1px); |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | .logprobs_panel_header { |
| @@ -1,6 +1,8 @@ | ||
| 1 | 1 | /*will apply to anything 1000px or less. this catches ipads, horizontal phones, and vertical phones)*/ |
| 2 | 2 | @media screen and (max-width: 1000px) { |
| 3 | - #send_form.compact #leftSendForm, #send_form.compact #rightSendForm { | |
| 3 | + | |
| 4 | + #send_form.compact #leftSendForm, | |
| 5 | + #send_form.compact #rightSendForm { | |
| 4 | 6 | flex-wrap: nowrap; |
| 5 | 7 | width: unset; |
| 6 | 8 | } |
| @@ -34,9 +36,9 @@ | ||
| 34 | 36 | right: 0; |
| 35 | 37 | width: fit-content; |
| 36 | 38 | max-height: calc(60vh - 60px); |
| 37 | 39 | max-height: calc(60svh60dvh - 60px); |
| 38 | 40 | max-width: 90vw; |
| 39 | 41 | max-width: 90svw90dvw; |
| 40 | 42 | left: 50%; |
| 41 | 43 | top: 50%; |
| 42 | 44 | transform: translateX(-50%) translateY(-50%); |
| @@ -102,7 +104,7 @@ | ||
| 102 | 104 | min-width: unset; |
| 103 | 105 | width: 100%; |
| 104 | 106 | max-height: calc(100vh - 45px); |
| 105 | 107 | max-height: calc(100svh100dvh - 45px); |
| 106 | 108 | position: fixed; |
| 107 | 109 | left: 0; |
| 108 | 110 | top: 5px; |
| @@ -130,15 +132,15 @@ | ||
| 130 | 132 | #top-bar { |
| 131 | 133 | position: fixed; |
| 132 | 134 | width: 100vw; |
| 133 | 135 | width: 100svw100dvw; |
| 134 | 136 | } |
| 135 | 137 | |
| 136 | 138 | #bg1, |
| 137 | 139 | #bg_custom { |
| 138 | 140 | height: 100vh !important; |
| 139 | 141 | height: 100svh100dvh !important; |
| 140 | 142 | width: 100vw !important; |
| 141 | 143 | width: 100svw100dvw !important; |
| 142 | 144 | background-position: center; |
| 143 | 145 | |
| 144 | 146 | } |
| @@ -146,13 +148,7 @@ | ||
| 146 | 148 | |
| 147 | 149 | #sheld, |
| 148 | 150 | #character_popup, |
| 149 | 151 | .drawer-content { |
| 150 | - | |
| 151 | - /* , | |
| 152 | - #world_popup */ | |
| 153 | - { | |
| 154 | - /*max-height: calc(100vh - 36px); | |
| 155 | - max-height: calc(100svh - 36px);*/ | |
| 156 | 152 | width: 100% !important; |
| 157 | 153 | margin: 0 auto; |
| 158 | 154 | max-width: 100%; |
| @@ -223,10 +219,10 @@ | ||
| 223 | 219 | #floatingPrompt, |
| 224 | 220 | #cfgConfig, |
| 225 | 221 | #logprobsViewer, |
| 226 | 222 | #movingDivs > div { |
| 227 | 223 | /* 100vh are fallback units for browsers that don't support svhdvh */ |
| 228 | 224 | height: calc(100vh - 45px); |
| 229 | 225 | height: calc(100svh100dvh - 45px); |
| 230 | 226 | min-width: 100% !important; |
| 231 | 227 | width: 100% !important; |
| 232 | 228 | max-width: 100% !important; |
| @@ -249,7 +245,7 @@ | ||
| 249 | 245 | #floatingPrompt, |
| 250 | 246 | #cfgConfig, |
| 251 | 247 | #logprobsViewer, |
| 252 | 248 | #movingDivs > div { |
| 253 | 249 | height: min-content; |
| 254 | 250 | } |
| 255 | 251 | |
| @@ -286,9 +282,9 @@ | ||
| 286 | 282 | |
| 287 | 283 | body.waifuMode #sheld { |
| 288 | 284 | height: 40vh; |
| 289 | 285 | height: 40svh40dvh; |
| 290 | 286 | top: 60vh; |
| 291 | 287 | top: 60svh60dvh; |
| 292 | 288 | bottom: 0 !important; |
| 293 | 289 | } |
| 294 | 290 | |
| @@ -325,16 +321,16 @@ | ||
| 325 | 321 | body.waifuMode .zoomed_avatar { |
| 326 | 322 | width: fit-content; |
| 327 | 323 | max-height: calc(60vh - 60px); |
| 328 | 324 | max-height: calc(60svh60dvh - 60px); |
| 329 | 325 | max-width: 90vw; |
| 330 | 326 | max-width: 90svw90dvw; |
| 331 | 327 | } |
| 332 | 328 | |
| 333 | 329 | .scrollableInner { |
| 334 | 330 | overflow-y: auto; |
| 335 | 331 | overflow-x: hidden; |
| 336 | 332 | max-height: calc(100vh - 90px); |
| 337 | 333 | max-height: calc(100svh100dvh - 90px); |
| 338 | 334 | } |
| 339 | 335 | |
| 340 | 336 | .horde_multiple_hint { |
| @@ -370,9 +366,9 @@ | ||
| 370 | 366 | |
| 371 | 367 | body:not(.waifuMode) .zoomed_avatar { |
| 372 | 368 | max-height: calc(60vh - 60px); |
| 373 | 369 | max-height: calc(60svh60dvh - 60px); |
| 374 | 370 | max-width: 90vw; |
| 375 | 371 | max-width: 90svw90dvw; |
| 376 | 372 | left: 50%; |
| 377 | 373 | top: 50%; |
| 378 | 374 | transform: translateX(-50%) translateY(-50%); |
| @@ -453,9 +449,9 @@ | ||
| 453 | 449 | min-height: unset; |
| 454 | 450 | max-height: unset; |
| 455 | 451 | width: 100vw; |
| 456 | 452 | width: 100svw100dvw; |
| 457 | 453 | height: calc(100vh - 36px); |
| 458 | 454 | height: calc(100svh100dvh - 36px); |
| 459 | 455 | padding-right: max(env(safe-area-inset-right), 0px); |
| 460 | 456 | padding-left: max(env(safe-area-inset-left), 0px); |
| 461 | 457 | padding-bottom: 0; |
| @@ -485,10 +481,10 @@ | ||
| 485 | 481 | top: 0; |
| 486 | 482 | margin: 0 auto; |
| 487 | 483 | height: calc(100vh - 70px); |
| 488 | 484 | height: calc(100svh100dvh - 70px); |
| 489 | 485 | width: calc(100% - 5px); |
| 490 | 486 | max-height: calc(100vh - 70px); |
| 491 | 487 | max-height: calc(100svh100dvh - 70px); |
| 492 | 488 | max-width: calc(100% - 5px); |
| 493 | 489 | |
| 494 | 490 | } |
| @@ -7,5 +7,5 @@ body.safari .popup.large_dialogue_popup .popup-body { | ||
| 7 | 7 | body.safari .popup .popup-body { |
| 8 | 8 | height: fit-content; |
| 9 | 9 | max-height: 90vh; |
| 10 | 10 | max-height: 90svh90dvh; |
| 11 | 11 | } |
| @@ -16,8 +16,8 @@ dialog { | ||
| 16 | 16 | display: flex; |
| 17 | 17 | flex-direction: column; |
| 18 | 18 | |
| 19 | 19 | max-height: calc(100svh100dvh - 2em); |
| 20 | 20 | max-width: calc(100svw100dvw - 2em); |
| 21 | 21 | min-height: fit-content; |
| 22 | 22 | |
| 23 | 23 | /* Overflow visible so elements (like toasts) can appear outside of the dialog. '.popup-body' is hiding overflow for the real content. */ |
| @@ -103,7 +103,7 @@ body.no-blur .popup[open]::backdrop { | ||
| 103 | 103 | |
| 104 | 104 | .popup #toast-container { |
| 105 | 105 | /* Fix toastr in dialogs by actually placing it at the top of the screen via transform */ |
| 106 | 106 | height: 100svh100dvh; |
| 107 | 107 | top: calc(50% + var(--topBarBlockSize)); |
| 108 | 108 | left: 50%; |
| 109 | 109 | transform: translate(-50%, -50%); |
| @@ -115,7 +115,7 @@ body.no-blur .popup[open]::backdrop { | ||
| 115 | 115 | .popup-crop-wrap { |
| 116 | 116 | margin: 10px auto; |
| 117 | 117 | max-height: 75vh; |
| 118 | 118 | max-height: 75svh75dvh; |
| 119 | 119 | max-width: 100%; |
| 120 | 120 | } |
| 121 | 121 | |
| @@ -364,7 +364,7 @@ body.waifuMode #top-bar { | ||
| 364 | 364 | |
| 365 | 365 | body.waifuMode #sheld { |
| 366 | 366 | height: 40vh; |
| 367 | 367 | height: 40svh40dvh; |
| 368 | 368 | top: calc(100% - 40vh); |
| 369 | 369 | bottom: 0; |
| 370 | 370 | } |
| @@ -231,8 +231,8 @@ | ||
| 231 | 231 | flex-direction: column; |
| 232 | 232 | } |
| 233 | 233 | body .popup:has(#qr--modalEditor) .popup-content > #qr--modalEditor > #qr--main > .qr--modal-messageContainer > #qr--modal-messageHolder { |
| 234 | 234 | min-height: 50svh50dvh; |
| 235 | 235 | height: 50svh50dvh; |
| 236 | 236 | } |
| 237 | 237 | } |
| 238 | 238 | .popup:has(#qr--modalEditor) { |
| @@ -297,8 +297,8 @@ | ||
| 297 | 297 | } |
| 298 | 298 | |
| 299 | 299 | >#qr--main>.qr--modal-messageContainer>#qr--modal-messageHolder { |
| 300 | 300 | min-height: 50svh50dvh; |
| 301 | 301 | height: 50svh50dvh; |
| 302 | 302 | } |
| 303 | 303 | } |
| 304 | 304 | } |
| @@ -137,7 +137,6 @@ body { | ||
| 137 | 137 | width: 100%; |
| 138 | 138 | /*fallback for JS load*/ |
| 139 | 139 | height: 100vh; |
| 140 | - height: 100svh; | |
| 141 | 140 | height: 100dvh; |
| 142 | 141 | /*defaults as 100%, then reassigned via JS as pixels, will work on PC and Android*/ |
| 143 | 142 | /*height: calc(var(--doc-height) - 1px);*/ |
| @@ -451,7 +450,7 @@ code { | ||
| 451 | 450 | border-radius: 5px; |
| 452 | 451 | background-color: var(--black70a); |
| 453 | 452 | padding: 0 3px; |
| 454 | 453 | /* max-width: calc(100svw100dvw - 95px); */ |
| 455 | 454 | line-height: var(--mainFontSize); |
| 456 | 455 | color: var(--white70a); |
| 457 | 456 | } |
| @@ -535,13 +534,13 @@ body.reduced-motion #bg_custom { | ||
| 535 | 534 | flex-direction: column; |
| 536 | 535 | /* -1px to give sheld some wiggle room to bounce off tobar when moving*/ |
| 537 | 536 | height: calc(100vh - var(--topBarBlockSize) - 1px); |
| 538 | 537 | height: calc(100svh100dvh - var(--topBarBlockSize) - 1px); |
| 539 | 538 | max-height: calc(100svh100dvh - var(--topBarBlockSize) - 1px); |
| 540 | 539 | overflow-x: hidden; |
| 541 | 540 | /* max-width: 50vw; */ |
| 542 | 541 | position: absolute; |
| 543 | 542 | left: calc((100vw - var(--sheldWidth))/2); |
| 544 | 543 | left: calc((100svw100dvw - var(--sheldWidth))/2); |
| 545 | 544 | top: var(--topBarBlockSize); |
| 546 | 545 | margin: 0 auto; |
| 547 | 546 | left: 0; |
| @@ -1160,12 +1159,12 @@ textarea { | ||
| 1160 | 1159 | font-family: var(--mainFontFamily); |
| 1161 | 1160 | padding: 5px 10px; |
| 1162 | 1161 | max-height: 90vh; |
| 1163 | 1162 | max-height: 90svh90dvh; |
| 1164 | 1163 | } |
| 1165 | 1164 | |
| 1166 | 1165 | textarea.autoSetHeight { |
| 1167 | 1166 | max-height: 50vh; |
| 1168 | 1167 | max-height: 50svh50dvh; |
| 1169 | 1168 | } |
| 1170 | 1169 | |
| 1171 | 1170 | input, |
| @@ -1179,7 +1178,7 @@ select { | ||
| 1179 | 1178 | min-height: calc(var(--bottomFormBlockSize) + 2px); |
| 1180 | 1179 | height: calc(var(--bottomFormBlockSize) + 2px); |
| 1181 | 1180 | max-height: 50vh; |
| 1182 | 1181 | max-height: 50svh50dvh; |
| 1183 | 1182 | word-wrap: break-word; |
| 1184 | 1183 | resize: vertical; |
| 1185 | 1184 | display: block; |
| @@ -2111,14 +2110,14 @@ textarea::placeholder { | ||
| 2111 | 2110 | @media screen and (max-width: 1000px) { |
| 2112 | 2111 | #form_create textarea { |
| 2113 | 2112 | flex-grow: 1; |
| 2114 | 2113 | min-height: 20svh20dvh; |
| 2115 | 2114 | } |
| 2116 | 2115 | } |
| 2117 | 2116 | |
| 2118 | 2117 | @media screen and (min-width: 1001px) { |
| 2119 | 2118 | #description_textarea { |
| 2120 | 2119 | height: 29vh; |
| 2121 | 2120 | height: 29svh29dvh; |
| 2122 | 2121 | } |
| 2123 | 2122 | |
| 2124 | 2123 | #firstmessage_textarea { |
| @@ -2394,8 +2393,8 @@ input[type="file"] { | ||
| 2394 | 2393 | #floatingPrompt, |
| 2395 | 2394 | #cfgConfig { |
| 2396 | 2395 | overflow-y: auto; |
| 2397 | 2396 | max-width: 90svw90dvw; |
| 2398 | 2397 | max-height: 90svh90dvh; |
| 2399 | 2398 | min-width: 100px; |
| 2400 | 2399 | min-height: 100px; |
| 2401 | 2400 | border-radius: 10px; |
| @@ -2411,7 +2410,7 @@ input[type="file"] { | ||
| 2411 | 2410 | top: 0; |
| 2412 | 2411 | margin: 0; |
| 2413 | 2412 | right: unset; |
| 2414 | 2413 | width: calc(((100svw100dvw - var(--sheldWidth)) / 2) - 1px); |
| 2415 | 2414 | |
| 2416 | 2415 | } |
| 2417 | 2416 | |
| @@ -2768,7 +2767,7 @@ input[type=search]:focus::-webkit-search-cancel-button { | ||
| 2768 | 2767 | flex-wrap: wrap; |
| 2769 | 2768 | width: calc(var(--sheldWidth) - 10px); |
| 2770 | 2769 | max-width: 100vw; |
| 2771 | 2770 | max-width: 100svw100dvw; |
| 2772 | 2771 | justify-content: space-evenly; |
| 2773 | 2772 | } |
| 2774 | 2773 | |
| @@ -3123,7 +3122,7 @@ grammarly-extension { | ||
| 3123 | 3122 | #dialogue_popup { |
| 3124 | 3123 | width: 500px; |
| 3125 | 3124 | max-width: 90vw; |
| 3126 | 3125 | max-width: 90svw90dvw; |
| 3127 | 3126 | position: absolute; |
| 3128 | 3127 | z-index: 9999; |
| 3129 | 3128 | margin-left: auto; |
| @@ -3139,7 +3138,7 @@ grammarly-extension { | ||
| 3139 | 3138 | background-color: var(--SmartThemeBlurTintColor); |
| 3140 | 3139 | border-radius: 10px; |
| 3141 | 3140 | max-height: 90vh; |
| 3142 | 3141 | max-height: 90svh90dvh; |
| 3143 | 3142 | display: flex; |
| 3144 | 3143 | flex-direction: column; |
| 3145 | 3144 | overflow-y: hidden; |
| @@ -3153,9 +3152,9 @@ grammarly-extension { | ||
| 3153 | 3152 | |
| 3154 | 3153 | .large_dialogue_popup { |
| 3155 | 3154 | height: 90vh !important; |
| 3156 | 3155 | height: 90svh90dvh !important; |
| 3157 | 3156 | max-width: 90vw !important; |
| 3158 | 3157 | max-width: 90svw90dvw !important; |
| 3159 | 3158 | } |
| 3160 | 3159 | |
| 3161 | 3160 | .wide_dialogue_popup { |
| @@ -3307,7 +3306,7 @@ grammarly-extension { | ||
| 3307 | 3306 | position: absolute; |
| 3308 | 3307 | width: 100%; |
| 3309 | 3308 | height: 100vh; |
| 3310 | 3309 | height: 100svh100dvh; |
| 3311 | 3310 | z-index: 9999; |
| 3312 | 3311 | top: 0; |
| 3313 | 3312 | } |
| @@ -3315,9 +3314,9 @@ grammarly-extension { | ||
| 3315 | 3314 | #bgtest { |
| 3316 | 3315 | display: none; |
| 3317 | 3316 | width: 100vw; |
| 3318 | 3317 | width: 100svw100dvw; |
| 3319 | 3318 | height: 100vh; |
| 3320 | 3319 | height: 100svh100dvh; |
| 3321 | 3320 | position: absolute; |
| 3322 | 3321 | z-index: -100; |
| 3323 | 3322 | background-color: red; |
| @@ -3954,7 +3953,7 @@ input[type="range"]::-webkit-slider-thumb { | ||
| 3954 | 3953 | position: absolute; |
| 3955 | 3954 | width: 100%; |
| 3956 | 3955 | height: 100vh; |
| 3957 | 3956 | height: 100svh100dvh; |
| 3958 | 3957 | z-index: 2058; |
| 3959 | 3958 | } |
| 3960 | 3959 | |
| @@ -3967,11 +3966,11 @@ input[type="range"]::-webkit-slider-thumb { | ||
| 3967 | 3966 | min-width: 100px; |
| 3968 | 3967 | max-width: var(--sheldWidth); |
| 3969 | 3968 | height: calc(100vh - 84px); |
| 3970 | 3969 | height: calc(100svh100dvh - 84px); |
| 3971 | 3970 | min-height: calc(100vh - 84px); |
| 3972 | 3971 | min-height: calc(100svh100dvh - 84px); |
| 3973 | 3972 | max-height: calc(100vh - 84px); |
| 3974 | 3973 | max-height: calc(100svh100dvh - 84px); |
| 3975 | 3974 | position: absolute; |
| 3976 | 3975 | z-index: 4001; |
| 3977 | 3976 | margin-left: auto; |
| @@ -4050,7 +4049,7 @@ h5 { | ||
| 4050 | 4049 | position: absolute; |
| 4051 | 4050 | width: 100%; |
| 4052 | 4051 | height: 100vh; |
| 4053 | 4052 | height: 100svh100dvh; |
| 4054 | 4053 | z-index: 4100; |
| 4055 | 4054 | top: 0; |
| 4056 | 4055 | background-color: var(--black70a); |
| @@ -4064,7 +4063,7 @@ h5 { | ||
| 4064 | 4063 | max-width: var(--sheldWidth); |
| 4065 | 4064 | height: min-content; |
| 4066 | 4065 | max-height: calc(100vh - var(--topBarBlockSize)); |
| 4067 | 4066 | max-height: calc(100svh100dvh - var(--topBarBlockSize)); |
| 4068 | 4067 | min-height: 100px; |
| 4069 | 4068 | position: absolute; |
| 4070 | 4069 | z-index: 2066; |
| @@ -4384,14 +4383,14 @@ a { | ||
| 4384 | 4383 | overflow-wrap: break-word; |
| 4385 | 4384 | white-space: normal; |
| 4386 | 4385 | max-width: calc(((100vw - 500px) / 2) - 10px); |
| 4387 | 4386 | max-width: calc(((100svw100dvw - 500px) / 2) - 10px); |
| 4388 | 4387 | position: absolute; |
| 4389 | 4388 | z-index: 9999; |
| 4390 | 4389 | max-height: 90vh; |
| 4391 | 4390 | max-height: 90svh90dvh; |
| 4392 | 4391 | /*unsure why, but this prevents scrollbars*/ |
| 4393 | 4392 | height: 49vh; |
| 4394 | 4393 | height: 49svh49dvh; |
| 4395 | 4394 | |
| 4396 | 4395 | padding: 5px; |
| 4397 | 4396 | overflow-y: auto; |
| @@ -4427,11 +4426,11 @@ a { | ||
| 4427 | 4426 | |
| 4428 | 4427 | #right-nav-panel { |
| 4429 | 4428 | width: calc((100vw - var(--sheldWidth) - 2px) /2); |
| 4430 | 4429 | width: calc((100svw100dvw - var(--sheldWidth) - 2px) /2); |
| 4431 | 4430 | max-height: calc(100vh - var(--topBarBlockSize)); |
| 4432 | 4431 | max-height: calc(100svh100dvh - var(--topBarBlockSize)); |
| 4433 | 4432 | height: calc(100vh - var(--topBarBlockSize)); |
| 4434 | 4433 | height: calc(100svh100dvh - var(--topBarBlockSize)); |
| 4435 | 4434 | position: fixed; |
| 4436 | 4435 | top: 0; |
| 4437 | 4436 | margin: 0; |
| @@ -4484,7 +4483,7 @@ a { | ||
| 4484 | 4483 | border-radius: 10px; |
| 4485 | 4484 | max-width: 100%; |
| 4486 | 4485 | max-height: 40vh; |
| 4487 | 4486 | max-height: 40svh40dvh; |
| 4488 | 4487 | image-rendering: -webkit-optimize-contrast; |
| 4489 | 4488 | } |
| 4490 | 4489 | |
| @@ -4576,18 +4575,18 @@ body:not(.caption) .mes_img_caption { | ||
| 4576 | 4575 | |
| 4577 | 4576 | .img_enlarged_container pre { |
| 4578 | 4577 | max-height: 25vh; |
| 4579 | 4578 | max-height: 25svh25dvh; |
| 4580 | 4579 | flex-shrink: 0; |
| 4581 | 4580 | overflow: auto; |
| 4582 | 4581 | } |
| 4583 | 4582 | |
| 4584 | 4583 | .popup:has(.img_enlarged.zoomed).large_dialogue_popup { |
| 4585 | 4584 | height: 100vh !important; |
| 4586 | 4585 | height: 100svh100dvh !important; |
| 4587 | 4586 | max-height: 100vh !important; |
| 4588 | 4587 | max-height: 100svh100dvh !important; |
| 4589 | 4588 | max-width: 100vw !important; |
| 4590 | 4589 | max-width: 100svw100dvw !important; |
| 4591 | 4590 | padding: 0; |
| 4592 | 4591 | } |
| 4593 | 4592 | |
| @@ -4774,7 +4773,7 @@ body:has(#character_popup.open) #top-settings-holder:has(.drawer-content.openDra | ||
| 4774 | 4773 | width: var(--sheldWidth); |
| 4775 | 4774 | overflow-y: auto; |
| 4776 | 4775 | max-height: calc(100vh - calc(var(--topBarBlockSize) + var(--bottomFormBlockSize))); |
| 4777 | 4776 | max-height: calc(100svh100dvh - calc(var(--topBarBlockSize) + var(--bottomFormBlockSize))); |
| 4778 | 4777 | display: none; |
| 4779 | 4778 | position: absolute; |
| 4780 | 4779 | top: var(--topBarBlockSize); |
| @@ -4809,11 +4808,11 @@ body:not(.movingUI) .drawer-content.maximized { | ||
| 4809 | 4808 | |
| 4810 | 4809 | .fillLeft { |
| 4811 | 4810 | width: calc((100vw - var(--sheldWidth) - 2px) /2); |
| 4812 | 4811 | width: calc((100svw100dvw - var(--sheldWidth) - 2px) /2); |
| 4813 | 4812 | height: calc(100vh - var(--topBarBlockSize)); |
| 4814 | 4813 | height: calc(100svh100dvh - var(--topBarBlockSize)); |
| 4815 | 4814 | max-height: calc(100vh - var(--topBarBlockSize)); |
| 4816 | 4815 | max-height: calc(100svh100dvh - var(--topBarBlockSize)); |
| 4817 | 4816 | position: fixed; |
| 4818 | 4817 | top: 0; |
| 4819 | 4818 | margin: 0; |
| @@ -5063,7 +5062,7 @@ body:not(.movingUI) .drawer-content.maximized { | ||
| 5063 | 5062 | width: 100%; |
| 5064 | 5063 | /* margin-inline: 10px; */ |
| 5065 | 5064 | max-height: 90vh; |
| 5066 | 5065 | max-width: 90svh90dvh; |
| 5067 | 5066 | } |
| 5068 | 5067 | |
| 5069 | 5068 | .zoomed_avatar img { |