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
@ -39,7 +39,7 @@ export function textWysiwyg({
|
||||
|
||||
Object.assign(editable.style, {
|
||||
color: strokeColor,
|
||||
position: "absolute",
|
||||
position: "fixed",
|
||||
opacity: opacity / 100,
|
||||
top: y + "px",
|
||||
left: x + "px",
|
||||
|
Loading…
x
Reference in New Issue
Block a user