mirror of
https://github.com/PR0M3TH3AN/unredact.git
synced 2026-10-27 08:40:29 +00:00
fix: mobile polish — tap-to-deselect and toast positioning
Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
1 parent
f07a0c9c2c
commit
9ad2bc150a
2 files changed
+10
No files matched your search
@@ -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();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user