kopia lustrzana https://github.com/Tldraw/Tldraw
Merge 60b4654fff
into de55259c92
commit
ea94bfe31e
|
@ -774,7 +774,7 @@ input,
|
|||
.tl-text {
|
||||
/* remove overflow from textarea on windows */
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
padding: 0px 4px;
|
||||
border: 0px;
|
||||
color: inherit;
|
||||
caret-color: var(--color-text);
|
||||
|
|
|
@ -323,6 +323,7 @@ function getTextSize(editor: Editor, props: TLTextShape['props']) {
|
|||
...TEXT_PROPS,
|
||||
fontFamily: FONT_FAMILIES[font],
|
||||
fontSize: fontSize,
|
||||
padding: '0px 4px',
|
||||
maxWidth: cw,
|
||||
})
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue