diff options
| author | winter | 2025-02-07 20:32:04 +0000 |
|---|---|---|
| committer | winter | 2025-02-07 20:32:04 +0000 |
| commit | 42e38069e28f84af921b4ea877dc84b4de02c3fe (patch) | |
| tree | 0d4c18d44b2093fe5b54214535891e8eb0573fa2 /static/form.css | |
| parent | cc5ab7a365e2e045cc1af43727e56f56d088a0df (diff) | |
update reply form layout
Diffstat (limited to 'static/form.css')
| -rw-r--r-- | static/form.css | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/static/form.css b/static/form.css index 8bcefde..b2435aa 100644 --- a/static/form.css +++ b/static/form.css @@ -60,8 +60,22 @@ form:not(.nopanel) { } } + &.noteReplyForm, &#writeNoteForm { - max-width: 100%; + details { + summary { + border: none; + border-radius: var(--border-radius); + margin: 0 0 var(--spacing-single) 0; + padding: var(--spacing-single) var(--spacing-double); + background-color: var(--clr-secondary); + font-weight: bold; + cursor: pointer; + } + &[open] summary { + margin-bottom: var(--spacing-single); + } + } .summaryAndContent { input:has(+ textarea) { @@ -76,20 +90,10 @@ form:not(.nopanel) { } } } + } - details { - summary { - border-radius: var(--border-radius); - margin-bottom: var(--spacing-single); - padding: var(--spacing-single) var(--spacing-double); - background-color: var(--clr-secondary); - font-weight: bold; - cursor: pointer; - } - &[open] summary { - margin-bottom: var(--spacing-single); - } - } + &#writeNoteForm { + max-width: 100%; .miniProfile { display: grid; |
