Match the browser/OS chrome to the theme and clear the status bar
Build and Push Docker Image / build-and-push (push) Successful in 4m30s
Build and Push Docker Image / build-and-push (push) Successful in 4m30s
The app now sets theme-color, color-scheme and the page background from the chosen theme, so the iPad status-bar area no longer shows a light band over a dark theme. Every top bar leaves room for the status bar via a safe-top class (replacing a rule that padded every <header>). Install defaults match the paper theme. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ec59f7c82d
commit
7fc5e4b534
12 files changed
+90
-15
No files matched your search
@@ -344,7 +344,7 @@ export default function ReaderPage() {
|
||||
)}
|
||||
{!chromeVisible && (
|
||||
<button type="button" onClick={() => setChromeVisible(true)} aria-label="Show controls"
|
||||
className="fixed right-3 top-3 z-30 rounded-full border border-[var(--r-line)] bg-[var(--r-bar)] p-2 text-[var(--r-sub)] opacity-70 hover:opacity-100">
|
||||
className="fixed right-3 top-[calc(0.75rem+env(safe-area-inset-top,0px))] z-30 rounded-full border border-[var(--r-line)] bg-[var(--r-bar)] p-2 text-[var(--r-sub)] opacity-70 hover:opacity-100">
|
||||
<FocusIcon />
|
||||
</button>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user