diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2025-05-13 17:53:01 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2025-05-13 21:10:20 -0400 |
| commit | 4061919ee5027ace8a592b47cbc0d92dcc8f8614 (patch) | |
| tree | 501cbc6998188aee2937e2109686b9afa3ffff39 /ui/styles/forms.css | |
| parent | 6eb8487d89ab14f8f11a40b78d7db72e3266840d (diff) | |
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.
Diffstat (limited to 'ui/styles/forms.css')
| -rw-r--r-- | ui/styles/forms.css | 4 |
1 files changed, 4 insertions, 0 deletions
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); +} |
