Skip to content

Commit 90ba417

Browse files
authored
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.
1 parent 32f7f40 commit 90ba417

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ examples/basic-server-*/**/*.ts
44
examples/basic-server-*/**/*.tsx
55
examples/quickstart/**/*.ts
66
**/vendor/**
7+
**/.build/**
78
SKILL.md

examples/pdf-server/src/mcp-app.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ body {
325325
overflow: hidden; /* No scrolling on main - only canvas-container scrolls */
326326
border-radius: 0;
327327
border: none;
328+
padding: 0 !important; /* Ignore safe area insets in fullscreen */
328329
}
329330

330331
.main.fullscreen .viewer {

0 commit comments

Comments
 (0)