aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-02 07:24:27 -0700
committerAdam Soltys <[email protected]>2026-10-02 07:24:27 -0700
commit9989970a976f387d9d766d38c21735171403879e (patch)
tree70013e7c04623efc1e260c3b0afb225c74ea42aa
parente8d82b8b23c271aa57134d762e14fd6dcbed9c7a (diff)
downloadcoinosv3-9989970a976f387d9d766d38c21735171403879e.tar.gz
coinosv3-9989970a976f387d9d766d38c21735171403879e.zip
Composer hint goes away on focus, so the caret sits at the left
The placeholder is ::before text in the flow, and the caret blinked after it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Dmcrt9KyNDKVWFKnb8BREo
-rw-r--r--src/style.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css
index 3b2020c..c47d22c 100644
--- a/src/style.css
+++ b/src/style.css
@@ -262,6 +262,8 @@ coinos-text:focus { outline: 2px solid var(--accent); outline-offset: -1px; bord
.media-progress-track { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.media-progress-fill { height: 100%; background: var(--accent); border-radius: 3px; transition: width .2s linear; }
coinos-text[data-empty]::before { content: attr(placeholder); color: var(--muted); pointer-events: none; }
+/* the hint is text in the flow, so the caret would blink after it: gone once you're in */
+coinos-text[data-empty]:focus::before { content: none; }
.chat-compose coinos-text { flex: 1; min-width: 0; padding: 10px 13px; max-height: 120px; }
.mono-input { font-family: var(--mono); }
.input-group { display: flex; gap: 8px; }