fix(editor): the strip stays below the top bar on scroll

This commit is contained in:
bchanot committed 2026-11-19 12:15:52 +01:00
1 parent 62b400e876
commit f2809f20ca
6 files changed
+153 -3

No files matched your search

@@ -1647,7 +1647,12 @@ describe('the strip', () => {
it('has a fixed height, hides its overflow and spans both columns', async () => {
await mount()
expect(strip()).toHaveClass('h-16', 'overflow-hidden')
expect(strip()).toHaveClass(
'h-[var(--edit-strip-height)]',
'overflow-hidden',
'lg:sticky',
'lg:top-[var(--shell-top-bar-height)]',
)
expect(strip().nextElementSibling?.querySelector('aside')).not.toBeNull()
expect(screen.queryByTestId('tracing-bar')).toBeNull()
})