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