Porównaj commity

...

2 Commity

Autor SHA1 Wiadomość Data
Steve Ruiz bc11be5918
Merge 60b4654fff into 4507ce6378 2024-04-22 00:02:05 +00:00
Steve Ruiz 60b4654fff add padding to text 2024-02-16 20:38:55 +00:00
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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);

Wyświetl plik

@ -323,6 +323,7 @@ function getTextSize(editor: Editor, props: TLTextShape['props']) {
...TEXT_PROPS,
fontFamily: FONT_FAMILIES[font],
fontSize: fontSize,
padding: '0px 4px',
maxWidth: cw,
})