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:
parent
32f7f40f57
commit
90ba41720e
2 changed files with 2 additions and 0 deletions
|
|
@ -4,4 +4,5 @@ examples/basic-server-*/**/*.ts
|
|||
examples/basic-server-*/**/*.tsx
|
||||
examples/quickstart/**/*.ts
|
||||
**/vendor/**
|
||||
**/.build/**
|
||||
SKILL.md
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue