render spread-nav within screen bounds on mobile
Hunter
Thursday, February 5th, 2026 at 2:12 PM
65 top: 0;
66 left: 0;
67 width: 100vw;
- height: 100vh;
68 + height: 100dvh;
69 z-index: 9999;
70 }
71
72 +.preview-pane.fullscreen .spread-nav {
73 + padding-bottom: calc(12px + env(safe-area-inset-bottom));
74 +}
75 +
76 .editor-pane.hidden {
77 display: none;
78 }
79 if (isFullscreen) {
80 previewPane.classList.add('fullscreen');
81 editorPane.classList.add('hidden');
- preview.style.height = window.innerHeight + 'px';
82 } else {
83 previewPane.classList.remove('fullscreen');
84 editorPane.classList.remove('hidden');
- preview.style.height = '';
85 }
86
87 try {