fix(ui): constrain mobile folder home layout

Reserve space for the absolute homepage controls on narrow screens so the language selector no longer overlaps the CodeNomad logo.

Apply the existing actions-column height constraint to the recent folder panel across viewport sizes so mobile lists scroll instead of expanding beyond the browse/actions section.

Validated with npm run typecheck --workspace @codenomad/ui.
This commit is contained in:
Shantur Rathore 2026-05-17 20:24:38 +01:00
parent ee069bf4db
commit cabe89476f

View file

@ -9,6 +9,12 @@
min-height: 100%;
}
@media (max-width: 639px) {
.folder-home-shell {
padding-top: 3.5rem;
}
}
.folder-home-hero {
margin-bottom: 1.5rem;
}
@ -36,6 +42,8 @@
.folder-home-list-panel {
min-height: 16rem;
height: var(--folder-home-actions-height, auto);
max-height: var(--folder-home-actions-height, none);
}
@media (min-width: 1024px) {
@ -50,10 +58,6 @@
min-width: 0;
}
.folder-home-list-panel {
height: var(--folder-home-actions-height, auto);
max-height: var(--folder-home-actions-height, none);
}
}
@media (min-width: 640px) and (min-height: 721px) {