fix: mobile polish — tap-to-deselect and toast positioning

Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
Alex-GilbertandClaude Opus 4.6 committed 2026-02-21 16:19:00 -06:00
1 parent f07a0c9c2c
commit 9ad2bc150a
2 files changed
+10

No files matched your search

+5
View File
@@ -514,6 +514,11 @@ canvas.addEventListener("mousedown", (e) => {
if (hit) {
e.stopPropagation();
activateRedaction(hit.id);
} else if (isMobile() && state.activeRedaction) {
state.activeRedaction = null;
closePopover();
renderRedactionList();
renderCanvas();
}
});
+5
View File
@@ -956,6 +956,11 @@ main {
/* Delete button: always visible on touch (no hover) */
.redaction-delete { opacity: 1; }
/* Toast: position above sheet */
#toast-container {
bottom: calc(var(--sheet-height, 60px) + 1rem);
}
/* Viewer section needs bottom margin for sheet peek height */
#viewer-section {
padding-bottom: var(--sheet-height, 60px);