Skip to content

fix(admin): use container query to collapse editor columns (#906) - #915

Open
ralksta wants to merge 1 commit into
devfrom
fix/906-page-editor-container-query
Open

ralksta wants to merge 1 commit into
devfrom
fix/906-page-editor-container-query

Conversation

@ralksta

@ralksta ralksta commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Fixes #906.

Changes

  • In app/admin/styles/subpage-sheet.css and app/admin/styles/drawers.css, set container-type: inline-size on .subpage-drawer-body and .album-drawer-body.
  • Replaced the @media (max-width: 1024px) rule on .admin-sheet-columns with @container (max-width: 820px) so the layout collapses based on the drawer's actual available width rather than the full viewport width.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant