mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-07 22:44:06 +00:00
fix(dashboard): let the Apps modals scroll in a short viewport
The Add-an-app and uninstall cards had no height cap and their overlay centers without scrolling, so on a landscape phone with the keyboard up (the viewport resizes for it) the request form's title and buttons sat off-screen with no way to reach them.
This commit is contained in:
1 parent
619e184c14
commit
d70b4b2d9f
1 file changed
+4
@@ -1515,6 +1515,10 @@ input.myapps-group-name:focus {
|
||||
padding: 24px;
|
||||
min-width: min(370px, calc(100vw - 32px));
|
||||
max-width: min(450px, calc(100vw - 32px));
|
||||
/* Scrolls rather than spilling past both edges in a short viewport
|
||||
(landscape phone, on-screen keyboard up) */
|
||||
max-height: calc(100% - 32px);
|
||||
overflow-y: auto;
|
||||
box-shadow: 0 8px 32px var(--dashboard-shadow-medium);
|
||||
}
|
||||
.myapps-modal h3 {
|
||||
|
||||
Reference in new issue
Block a user