replace admin rail with unified bottom sheet editor
All checks were successful
deploy / deploy (push) Successful in 1m30s
All checks were successful
deploy / deploy (push) Successful in 1m30s
- add editor sheet component anchored bottom (mobile) / right (desktop) - admin cog moves to header, always visible for admins - remove Done button from editor header, keep only Save - add editor_at_defaults tracking to disable Reset when at defaults - sheet collapses on click outside or Escape, stays in edit mode - dirty indicator + beforeunload warning for unsaved changes - keyboard shortcuts: Ctrl+Z undo, Ctrl+Shift+Z redo - WCAG compliant: aria-expanded, live region, focus management Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -18,9 +18,10 @@
|
||||
</.link>
|
||||
</header>
|
||||
|
||||
<.flash_group flash={@flash} />
|
||||
|
||||
<%!-- page content --%>
|
||||
<main class="admin-main">
|
||||
<.flash_group flash={@flash} />
|
||||
<div class="admin-container">
|
||||
{@inner_content}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user