pdf: ignore safe area insets in fullscreen mode (#484)

Add padding: 0 !important to .main.fullscreen so that
safe area insets applied via inline styles are overridden,
making the PDF viewer truly fullscreen edge-to-edge.

Also add .build directories to .prettierignore to fix
pre-commit hook failures from Swift build artifacts.
This commit is contained in:
Olivier Chafik 2026-02-21 16:25:58 -08:00 • committed by GitHub
commit 90ba41720e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -325,6 +325,7 @@ body {
overflow: hidden; /* No scrolling on main - only canvas-container scrolls */
border-radius: 0;
border: none;
padding: 0 !important; /* Ignore safe area insets in fullscreen */
}
.main.fullscreen .viewer {