mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-22 16:46:28 +01:00
Fix textarea styles leaked to other textareas
This commit is contained in:
parent
44ffd69941
commit
674e1fd1ff
2 changed files with 12 additions and 9 deletions
|
@ -136,6 +136,7 @@
|
|||
line-height: 1.4;
|
||||
border-color: transparent;
|
||||
|
||||
&.compose-field {
|
||||
@media (width < 30em) {
|
||||
margin-inline: calc(-1 * var(--form-padding-inline));
|
||||
width: 100vw !important;
|
||||
|
@ -147,6 +148,7 @@
|
|||
@media (min-width: 40em) {
|
||||
max-height: 65vh;
|
||||
}
|
||||
}
|
||||
}
|
||||
#compose-container textarea:hover {
|
||||
border-color: var(--divider-color);
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue