mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-09-30 12:39:42 +02:00
fix(review): use dvh fallback pair so the response-viewer header stays on-screen on iOS (PR #142)
- 92vh on iOS Safari measures the large viewport; with browser chrome visible the panel top (header + close button) clipped off-screen. 88vh fallback + 92dvh matches the repo's established dvh idiom. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1259,7 +1259,10 @@ html.mobile-init .file-browser-panel {
|
||||
|
||||
.response-viewer {
|
||||
padding-bottom: var(--safe-area-bottom, 0px);
|
||||
max-height: 92vh;
|
||||
/* dvh tracks the visible viewport on iOS Safari (vh = large viewport and would clip
|
||||
the header/close button off-screen); the vh line is the old-engine fallback */
|
||||
max-height: 88vh;
|
||||
max-height: 92dvh;
|
||||
}
|
||||
|
||||
.response-viewer-body {
|
||||
|
||||
Reference in New Issue
Block a user