From 4061919ee5027ace8a592b47cbc0d92dcc8f8614 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 13 May 2025 17:53:01 -0400 Subject: Dim out placeholder text. It's not much, but it makes it a bit easier to see that the placeholder text _is_ a placeholder. Not sure what to do about it vanishing permanently once the element is edited, until the element is formally `reset()`, though. --- ui/styles/forms.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ui/styles') diff --git a/ui/styles/forms.css b/ui/styles/forms.css index eb98743..59dda30 100644 --- a/ui/styles/forms.css +++ b/ui/styles/forms.css @@ -22,3 +22,7 @@ form.form > button { border: 1px solid var(--colour-input-border); margin: 0.25rem; } + +[contenteditable]:empty { + color: var(--light-text); +} -- cgit v1.2.3