Fix textarea styles leaked to other textareas

pull/286/head
Lim Chee Aun 2023-11-04 12:02:41 +08:00
rodzic 44ffd69941
commit 674e1fd1ff
2 zmienionych plików z 12 dodań i 9 usunięć

Wyświetl plik

@ -136,16 +136,18 @@
line-height: 1.4;
border-color: transparent;
@media (width < 30em) {
margin-inline: calc(-1 * var(--form-padding-inline));
width: 100vw !important;
max-width: 100vw;
border-radius: 0;
border: 0;
}
&.compose-field {
@media (width < 30em) {
margin-inline: calc(-1 * var(--form-padding-inline));
width: 100vw !important;
max-width: 100vw;
border-radius: 0;
border: 0;
}
@media (min-width: 40em) {
max-height: 65vh;
@media (min-width: 40em) {
max-height: 65vh;
}
}
}
#compose-container textarea:hover {

Wyświetl plik

@ -1417,6 +1417,7 @@ const Textarea = forwardRef((props, ref) => {
return (
<text-expander ref={textExpanderRef} keys="@ # :">
<textarea
class="compose-field"
autoCapitalize="sentences"
autoComplete="on"
autoCorrect="on"