Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Block side menu flipping to right side #225

Merged
merged 6 commits into from
Jun 15, 2023
Merged

Conversation

matthewlipski
Copy link
Collaborator

By default, Tippy swaps a popup's placement to the opposite side if it thinks the popup would overwise overflow. It turns out that it will do this even if the popup element has a few pixels to spare before overflowing. This was happening to the side menu, so the editor has been given a few more pixels of side padding to fix this.

Closes #199

@vercel
Copy link

vercel bot commented May 31, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blocknote-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 9, 2023 1:44pm

@matthewlipski matthewlipski merged commit 555fae6 into main Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

block sidemenu on right when body{magin:0}
2 participants