Fix mobile panel to full-screen overlay per board (THE-104)

Board confirmed: mobile panel should be full-screen overlay with X button,
not a bottom sheet. Simplified @media breakpoint to 100vw/100vh with no
border-radius and inherited slide-right animation from desktop.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
s0lray
2026-03-25 23:07:07 -04:00
co-authored by Paperclip
parent 9600931365
commit 8c5ab92c88
+4 -12
View File
@@ -291,22 +291,14 @@
stroke-width: 3px;
}
/* Mobile: bottom-sheet */
/* Mobile: full-screen overlay */
@media (max-width: 768px) {
#tool-panel {
width: 100vw;
height: 80vh;
top: auto;
bottom: 0;
height: 100vh;
top: 0;
right: 0;
border-left: none;
border-top: 1px solid var(--color-border);
border-radius: var(--radius-md) var(--radius-md) 0 0;
transform: translateY(100%);
transition: transform 250ms ease;
}
#tool-panel.open {
transform: translateY(0);
border-radius: 0;
}
}