feat(editor): Plus dropdown overlay with back request, sticky sidebar

This commit is contained in:
bchanot committed 2026-11-13 22:32:51 +01:00
1 parent 8a60128311
commit ca5804a8b7
8 files changed
+536 -55

No files matched your search

@@ -179,6 +179,14 @@ describe('AppLayout, editor sidebar from 1 280 px', () => {
expect(topBarMenu()).toHaveClass('lg:hidden')
})
it('keeps the sidebar fixed while the content scrolls, with its own scroll', () => {
mount('/app/admin/sheets/s-1/draft')
expect(sidebar()).toHaveClass('sticky', 'top-0', 'h-dvh', 'self-start', 'overflow-y-auto')
cleanup()
mount('/app/admin/sheets/s-1')
expect(sidebar()).toHaveClass('sticky', 'top-0', 'h-dvh', 'self-start', 'overflow-y-auto')
})
it('keeps the drawer open at 1 180 px in the editor, closes it from 1 280 px', async () => {
const user = userEvent.setup()
const fire = stubScreen(73.75)