mirror of
https://github.com/codex-team/editor.js
synced 2026-03-18 08:29:52 +01:00
fix: prevent scrollbars in inline toolbar on Safari
The inline popover items container inherits overflow-y: auto from popover.css. In Safari, this causes scrollbars to appear in the inline toolbar when selecting text, partially covering toolbar items. Adding overflow: hidden to the ce-popover__items selector inside ce-popover--inline prevents the browser from rendering scroll controls since the flex layout handles all item positioning.
This commit is contained in:
parent
a89f3d0eda
commit
32b7f3689d
1 changed files with 1 additions and 0 deletions
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
.ce-popover__items {
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ce-popover__container {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue