fix: new message indicator, cursor desync, button overlap, avatar fallback

- #63: 'New messages' label only shows when actual new messages arrive while scrolled up; plain arrow button shown otherwise
- #64: Fix cursor desync in HighlightedTextarea by matching backdrop border width to textarea
- #65: Move floating buttons inside scroll container with sticky positioning to prevent overlap with growing textarea
- #66: Graceful fallback to Bot icon when agent avatar image fails to load
This commit is contained in:
Nicolas Varrot
2026-02-13 20:51:09 +00:00
parent c47bca4e2e
commit 84512b1f15
5 changed files with 104 additions and 28 deletions

View File

@@ -231,7 +231,7 @@ html, body {
inset: 0;
pointer-events: none;
color: var(--pc-text-primary);
border: none;
border: 1px solid transparent; /* match textarea border width to keep text aligned */
border-radius: 1rem; /* rounded-2xl */
max-height: 200px;
}
@@ -257,12 +257,12 @@ html, body {
color: #67e8f9;
background: var(--pc-accent-glow);
border-radius: 3px;
padding: 0 2px;
/* No padding — must match textarea text layout exactly to avoid cursor desync */
}
.ht-bold {
color: var(--pc-text-primary);
font-weight: 700;
/* No font-weight change — bold text is wider and causes cursor desync */
}
.ht-italic {