Wider reference search in the inline toolbar (#152) #155
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MassiveDynamic/kataba!155
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/152-link-picker-width"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #152.
Editor.js puts the reference tool's search in a nested popover whose width is fixed at
--width: 200px. Because of that, the search's own18remnever applied, and titles wrapped at 186px.src/app/globals.css: the nested popover holding.rich-text-ref-searchtakes the search's width. That ismin(36rem, 100vw - 2rem), so 576px on desktop and the screen's width on a phone.e2e/references.spec.ts: a new test checks that the search is at least 36rem wide and fits a 390px viewport.Unit tests (628) and the full e2e suite (94) pass.
🤖 Generated with Claude Code