diff options
| author | Claude <noreply@anthropic.com> | 2026-02-17 17:45:02 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-02-17 17:45:02 +0000 |
| commit | cd62b75c084e4dfd2a54dc133f2518121507da35 (patch) | |
| tree | 072aa56daec5850aa9fa6fe95bf259d071aa2278 /web/dist/v3/index.html | |
| parent | 8ac775d7ce97e31a9531572f6f116dfc8de25d35 (diff) | |
| download | neko-cd62b75c084e4dfd2a54dc133f2518121507da35.tar.gz neko-cd62b75c084e4dfd2a54dc133f2518121507da35.tar.bz2 neko-cd62b75c084e4dfd2a54dc133f2518121507da35.zip | |
fix: add explicit height to .main-content so overflow-y scrolls
When the sidebar was changed to position:fixed (overlay mode), flex:1
was removed from .main-content. Without flex:1 or an explicit height,
.main-content relied on align-items:stretch for its height constraint.
This is unreliable for establishing a definite height that overflow-y:auto
respects — the element can grow with its content instead of constraining
at 100vh and scrolling.
Add height:100% to .main-content so it has a definite height from the
parent chain (body 100vh → #app 100% → .layout 100% → .main-content 100%).
This ensures overflow-y:auto creates a proper scroll container, which is
required for both the scroll-based infinite loading and mark-as-read to work.
https://claude.ai/code/session_01DpWhB9uGGMBnzqS28HxnuV
Diffstat (limited to 'web/dist/v3/index.html')
| -rw-r--r-- | web/dist/v3/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/dist/v3/index.html b/web/dist/v3/index.html index 3e08b77..773a2c6 100644 --- a/web/dist/v3/index.html +++ b/web/dist/v3/index.html @@ -5,8 +5,8 @@ <link rel="icon" type="image/svg+xml" href="/vite.svg" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>neko</title> - <script type="module" crossorigin src="/v3/assets/index-j89IB65U.js"></script> - <link rel="stylesheet" crossorigin href="/v3/assets/index-CFkVnbAe.css"> + <script type="module" crossorigin src="/v3/assets/index-DSYbYGrE.js"></script> + <link rel="stylesheet" crossorigin href="/v3/assets/index-BoXwoiBx.css"> </head> <body> <div id="app"></div> |
