feature: first pass on replies

refactor: move more smarts in the smartforms around
This commit is contained in:
Andy Burke 2025-09-21 16:02:08 -07:00
parent e1bb07a138
commit ab63d4ba8d
6 changed files with 343 additions and 181 deletions

View file

@ -210,6 +210,33 @@ textarea:focus {
height: 0;
}
input[collapse-toggle] {
display: none;
visibility: hidden;
}
label:has(input[collapse-toggle]) {
display: block;
max-width: 8rem;
cursor: pointer;
border: 1px solid var(--text);
border-radius: var(--border-radius);
padding: 0.5rem;
margin-bottom: 2rem;
}
input[collapse-toggle] + .collapsible,
label:has(input[collapse-toggle]) + .collapsible {
transition: all 0.33s;
height: 0;
overflow: hidden;
}
input[collapse-toggle]:checked + .collapsible,
label:has(input[collapse-toggle]:checked) + .collapsible {
height: 100%;
}
form div {
position: relative;
display: flex;