1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 04:57:40 +03:00

Fix shell full-height layout and landing scroll chrome regressions.

Restore fixed shell/landing-frame sizing from a8ef161 zoom experiment; hide landing page scrollbar while keeping wheel/keyboard/rail nav; constrain graphs main-pane width to stop horizontal overflow.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Anton Afanasyeu
2026-06-12 21:33:30 +02:00
parent f6080f3306
commit 7bb8ad097f
3 changed files with 38 additions and 28 deletions

View File

@@ -59,21 +59,22 @@ body {
}
body:has(.shell) {
display: block;
overflow-x: clip;
overflow-y: auto;
height: auto;
min-height: 100vh;
min-height: 100dvh;
overflow: hidden;
height: 100vh;
height: 100dvh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.shell {
display: flex;
position: relative;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: var(--footer-h, 40px);
width: 100%;
max-width: 100%;
min-height: calc(100dvh - var(--footer-h, 40px));
min-height: calc(100vh - var(--footer-h, 40px));
min-height: 0;
overflow: hidden;
z-index: 1;
}
@@ -81,7 +82,14 @@ a:hover { text-decoration: underline; }
.shell.shell--graphs-full .main-pane {
max-width: none;
width: 100%;
min-width: 0;
padding: 20px 24px 32px;
box-sizing: border-box;
}
.shell.shell--graphs-full .graphs-app,
.shell.shell--graphs-full .graphs-grid {
max-width: 100%;
min-width: 0;
}
.shell.shell--graphs-full .graph-detail-body {
max-width: none;
@@ -532,10 +540,12 @@ a:hover { text-decoration: underline; }
flex: 1 1 auto;
min-height: 0;
min-width: 0;
max-width: 100%;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
padding: 24px 28px;
box-sizing: border-box;
-webkit-overflow-scrolling: touch;
}
body { --footer-h: 40px; }