feat(web/mazenet): fullscreen canvas mode (hides topbar + sidebar, Esc to exit)

This commit is contained in:
2026-04-22 18:11:37 -04:00
parent 31d02a9726
commit ef34df4a7d
2 changed files with 39 additions and 1 deletions

View File

@@ -1,5 +1,18 @@
/* ── MazeNET canvas ─────────────────────────── */
body.maze-fullscreen .sidebar,
body.maze-fullscreen .topbar {
display: none !important;
}
body.maze-fullscreen .content-viewport {
padding: 16px 32px;
}
body.maze-fullscreen .maze-shell {
/* Full viewport minus content-viewport padding (16 top + 32 bottom) and header+gap. */
/* With flex:1 this stays correct because maze-page fills 100% of the new viewport. */
}
.maze-page {
display: flex;
flex-direction: column;