mirror of
git://f0xx.org/android_cast
synced 2026-07-29 05:17:39 +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:
@@ -5,19 +5,16 @@
|
||||
--landing-footer-h: 40px;
|
||||
--landing-left-w: 56px;
|
||||
--landing-rail-w: 44px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
min-height: 100dvh;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
overflow-x: clip;
|
||||
overflow-y: auto;
|
||||
height: 100vh;
|
||||
height: 100dvh;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* (1) Top header */
|
||||
.landing-top {
|
||||
position: sticky;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
@@ -152,11 +149,11 @@
|
||||
|
||||
/* Frame: (2) left + (3) body + space for (4) rail */
|
||||
.landing-frame {
|
||||
position: relative;
|
||||
flex: 1 1 auto;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
min-height: calc(100dvh - var(--landing-header-h) - var(--landing-footer-h));
|
||||
position: fixed;
|
||||
top: var(--landing-header-h);
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: var(--landing-footer-h);
|
||||
display: flex;
|
||||
z-index: 5;
|
||||
pointer-events: none;
|
||||
@@ -169,9 +166,8 @@
|
||||
flex-direction: column;
|
||||
flex: 0 0 var(--landing-left-w);
|
||||
width: var(--landing-left-w);
|
||||
align-self: stretch;
|
||||
min-height: 100%;
|
||||
max-height: none;
|
||||
height: 100%;
|
||||
max-height: 100%;
|
||||
overflow: hidden;
|
||||
z-index: 3;
|
||||
pointer-events: auto;
|
||||
@@ -196,15 +192,19 @@
|
||||
.landing-scroll {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
align-self: stretch;
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
scroll-snap-type: y mandatory;
|
||||
scroll-behavior: smooth;
|
||||
pointer-events: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--border) transparent;
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
}
|
||||
.landing-scroll::-webkit-scrollbar {
|
||||
display: none;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.landing-page {
|
||||
|
||||
@@ -38,7 +38,7 @@ function hub_h(string $s): string {
|
||||
<link rel="stylesheet" href="/app/androidcast_project/crashes/assets/css/app.css">
|
||||
<link rel="stylesheet" href="hub.css?v=20260610overlay">
|
||||
<link rel="stylesheet" href="hub-logo-layers.css?v=20260610overlay">
|
||||
<link rel="stylesheet" href="hub-landing.css?v=20260612nav">
|
||||
<link rel="stylesheet" href="hub-landing.css?v=20260613layout">
|
||||
<script type="importmap">
|
||||
{
|
||||
"imports": {
|
||||
|
||||
Reference in New Issue
Block a user