mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
Fix wysiwyg text overflow (#650)
By using position: fixed like the rest of the UI components, it will no longer make the body change size and have bad side effects like scrolling. Fixes #365
This commit is contained in:
parent
47f6328ae1
commit
e50dc5dbed
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ export function textWysiwyg({
|
||||||
|
|
||||||
Object.assign(editable.style, {
|
Object.assign(editable.style, {
|
||||||
color: strokeColor,
|
color: strokeColor,
|
||||||
position: "absolute",
|
position: "fixed",
|
||||||
opacity: opacity / 100,
|
opacity: opacity / 100,
|
||||||
top: y + "px",
|
top: y + "px",
|
||||||
left: x + "px",
|
left: x + "px",
|
||||||
|
|
Loading…
Add table
Reference in a new issue