Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/web/pdf-tools.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@
.pdf-rail[data-collapsed=true]{bottom:max(6px,env(safe-area-inset-bottom));height:30px;padding:0;box-shadow:0 2px 8px rgb(0 0 0/.08),0 6px 18px rgb(0 0 0/.12);animation:markup-pill-in .16s var(--ease)}
.pdf-rail[data-collapsed=true] .rail-toggle{width:auto;height:30px;padding:0 13px;gap:4px;color:var(--text-2)}
}
/* Ten tools need about 400px at full size; narrower phones (375–430px) get
slightly narrower buttons so the whole bar shows without scrolling. */
@media (max-width:430px){
.rail-tool{width:32px}
.rail-separator{margin:0 1px}
}

/* Tools that do not select text let clicks reach the page instead. */
.tool-point .pdf-container .textLayer,.tool-hand .pdf-container .textLayer{pointer-events:none}
Expand Down
Loading