Allow people to type essays

pull/42/head
Lim Chee Aun 2023-01-04 19:16:43 +08:00
rodzic 59ff5f8eca
commit edeceba729
2 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -28,7 +28,7 @@
max-width: 100%;
height: 4em;
min-height: 4em;
max-height: 10em;
max-height: 50vh;
resize: vertical;
line-height: 1.4;
}

Wyświetl plik

@ -1049,7 +1049,6 @@ const Textarea = forwardRef((props, ref) => {
style={{
width: '100%',
height: '4em',
maxHeight: `${maxCharacters / 50}em`,
'--text-weight': (1 + charCount / 140).toFixed(1) || 1,
}}
/>