styling for contact freetext

This commit is contained in:
Robert Perce 2025-11-27 17:39:59 -06:00
parent 7b2ca09133
commit 716fa81396
2 changed files with 46 additions and 1 deletions

View file

@ -39,6 +39,47 @@ main {
}
}
#text_body {
margin-top: 1em;
p+p {
margin-top: 0.5em;
}
em {
font-style: italic;
}
strong {
font-weight: bold;
}
}
.grow-wrap {
display: grid;
&::after {
content: attr(data-replicated-value) " ";
white-space: pre-wrap;
visibility: hidden;
}
&>textarea {
resize: none;
overflow: hidden;
}
&>textarea,
&::after {
/* Identical styling required!! */
margin-top: 1em;
width: 100%;
/* Place on top of each other */
grid-area: 1 / 1 / 2 / 2;
}
}
.hint {
font-size: small;
}