2023-05-11 11:33:01 +00:00
|
|
|
.GrowingTextarea {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.growWrap {
|
|
|
|
display: grid;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: attr(data-replicated-value);
|
|
|
|
visibility: hidden;
|
|
|
|
transition: height 0.3s linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
.textInput {
|
|
|
|
margin-bottom: 0;
|
|
|
|
border: none;
|
|
|
|
resize: none;
|
|
|
|
overflow: hidden;
|
2023-05-12 13:03:46 +00:00
|
|
|
|
2023-05-11 11:33:01 +00:00
|
|
|
&::placeholder {
|
|
|
|
color: #858585;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:focus-visible,
|
|
|
|
&:active {
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after,
|
|
|
|
& .textInput {
|
|
|
|
/* Identical styling required!! */
|
|
|
|
white-space: pre-wrap;
|
|
|
|
word-wrap: break-word;
|
|
|
|
overflow: hidden;
|
|
|
|
grid-area: 1 / 1 / 2 / 2;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|