fix: target pickers overflowing on mobile

This commit is contained in:
emilis 2025-11-18 14:45:47 +00:00
parent 1fe5a3fa39
commit fff3c5e366
No known key found for this signature in database
1 changed files with 3 additions and 1 deletions

View File

@ -1054,7 +1054,7 @@ input {
width: 100%; width: 100%;
align-items: center; align-items: center;
color: white; color: white;
height: 100%; height: var(--target-picker-height);
justify-content: center; justify-content: center;
$marked_bg: color.change($wolves_color, $alpha: 0.3); $marked_bg: color.change($wolves_color, $alpha: 0.3);
$marked_border: color.change($wolves_color, $alpha: 1.0); $marked_border: color.change($wolves_color, $alpha: 1.0);
@ -2116,10 +2116,12 @@ li.choice {
:root.big-screen { :root.big-screen {
--information-height: 75vh; --information-height: 75vh;
--target-picker-height: 100%;
} }
:root:not(.big-screen) { :root:not(.big-screen) {
--information-height: auto; --information-height: auto;
--target-picker-height: auto;
} }
.information { .information {