Fix missing search bar in find-word and find-related-words webviews#2387
Conversation
SearchBar's tw:@container/search wrapper sets container-type: inline-size, which collapses to zero width in a flex context without an explicit width. Add tw:w-full to the wrapper div and isFullWidth to SearchBar — mirrors the fix applied to the paranext-core dictionary component in c63af4e205. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
📝 WalkthroughWalkthroughTwo web view components ( ChangesSearchBar Full-Width Layout
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Can you maybe show us what your "find related words" UI looks like? You presumably have more experience than us for that feature, so I'm just curious 😁 |
|
@myieye It copies the style of the core's Hebrew/Greek dictionary.
|




Fixing a regression from the Tailwind update in #2333
Summary
SearchBar'stw:@container/searchwrapper setscontainer-type: inline-size, which collapses to zero width in a flex context without an explicit width — making the<input>invisibletw:w-fullto the wrapperdivandisFullWidthtoSearchBarin both affected webviewsparanext-coredictionary component inc63af4e205Test plan
🤖 Generated with Claude Code
Devin: https://app.devin.ai/review/sillsdev/languageforge-lexbox/pull/2387