Keep sample picker within mobile viewport

This commit is contained in:
Ninosaurier committed 2026-11-25 18:49:32 +01:00
1 parent dbbedf9ab3
commit aaed0f3548
2 files changed
+2 -3

No files matched your search

Binary file not shown.
+2 -3
View File
@@ -874,9 +874,8 @@ ion-content.app-content-studio {
ion-modal.instrument-picker-modal { ion-modal.instrument-picker-modal {
--width: min(420px, calc(100vw - 24px)); --width: min(420px, calc(100vw - 24px));
--height: min(88vh, 620px); --height: min(620px, calc(100% - (var(--ion-modal-offset-top, 0px) + 10px)));
--max-height: calc(100vh - 12px); --max-height: calc(100% - (var(--ion-modal-offset-top, 0px) + 10px));
--max-height: calc(100dvh - 12px);
--background: var(--surface); --background: var(--surface);
--border-radius: 18px 18px 0 0; --border-radius: 18px 18px 0 0;
--box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.45); --box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.45);