kopia lustrzana https://github.com/Tldraw/Tldraw
Merge 60b4654fff
into 91903c9761
commit
239b0ed833
|
@ -787,7 +787,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);
|
||||
|
|
|
@ -307,6 +307,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