mirror of
https://github.com/penpot/penpot.git
synced 2026-04-30 05:38:42 +00:00
🐛 Make internal DOM of text editor v2 break words as the render engine does
This commit is contained in:
parent
544b118925
commit
9f4db4479c
@ -37,7 +37,6 @@
|
||||
[data-itype="inline"] {
|
||||
line-break: auto;
|
||||
line-height: inherit;
|
||||
overflow-wrap: initial;
|
||||
caret-color: var(--text-editor-caret-color);
|
||||
}
|
||||
|
||||
@ -48,15 +47,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Grow type
|
||||
.grow-type-fixed,
|
||||
.grow-type-auto-height {
|
||||
[data-itype="inline"],
|
||||
[data-itype="paragraph"] {
|
||||
white-space: break-spaces;
|
||||
}
|
||||
}
|
||||
|
||||
.grow-type-auto-width {
|
||||
[data-itype="inline"],
|
||||
[data-itype="paragraph"] {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user