From 6b58bf53e312a67119289b894c5b482d057e5665 Mon Sep 17 00:00:00 2001 From: winter Date: Sun, 26 Jan 2025 21:53:26 +0000 Subject: make mentions work properly + ui for them --- static/form.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'static/form.css') diff --git a/static/form.css b/static/form.css index 95f13ac..4683929 100644 --- a/static/form.css +++ b/static/form.css @@ -1,4 +1,4 @@ -form { +form:not(.nopanel):not([hidden]) { border: var(--border); background: var(--clr-panel-background); border-radius: var(--border-radius); @@ -9,7 +9,8 @@ form { gap: var(--spacing-single); max-width: max-content; - label:has(+ input, + textarea, + select) { + label:has(+ input, + textarea, + select), + label.standalone { display: block; font-size: var(--font-small-size); color: var(--clr-lesser-foreground); -- cgit v1.3