fix: WYSIWYG toolbar doesn't follow scroll on private notes#4600
Conversation
…oolbar in private notes overflow-x-hidden implicitly creates overflow-y:auto per CSS spec, which forms a scroll container that breaks position:sticky on the WYSIWYG toolbar. overflow-x-clip clips horizontal overflow without creating a scroll container, so the toolbar correctly follows viewport scroll. Fixes #4261 Co-authored-by: Sylvain <SylvainChevalier@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA single CSS class change on the question section's root container updates horizontal overflow behavior from ChangesOverflow Behavior Fix
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
Cleanup: Preview Environment RemovedThe preview environment for this PR has been destroyed.
Cleanup triggered by PR close at 2026-05-19T15:42:59Z |
|
lgtm. |
Use
overflow-x-clipinstead ofoverflow-x-hiddeninQuestionSectionto fix sticky toolbar in private notes.overflow-x-hiddenimplicitly createsoverflow-y:autoper CSS spec, which forms a scroll container that breaksposition:stickyon the WYSIWYG toolbar.overflow-x-clipclips horizontal overflow without creating a scroll container.Fixes #4261
Generated with Claude Code
Summary by CodeRabbit