mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-03 17:51:27 +08:00
feat(chat): close the answer card with a bottom accent rule
The header and the textarea now share a soft accent line at the bottom, so the card no longer ends in visual emptiness.
This commit is contained in:
@@ -100,6 +100,14 @@ export function AnswerCard({
|
||||
disabled={disabled}
|
||||
className="max-h-[240px] min-h-[96px] w-full resize-none overflow-y-auto bg-transparent px-3 pb-3 pt-2 text-[13.5px] leading-relaxed text-[var(--foreground)] outline-none placeholder:text-[var(--muted-foreground)]/80 disabled:opacity-60"
|
||||
/>
|
||||
<div
|
||||
aria-hidden="true"
|
||||
className="h-1 w-full opacity-60"
|
||||
style={{
|
||||
background:
|
||||
"linear-gradient(90deg, transparent, var(--primary), transparent)",
|
||||
}}
|
||||
/>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => {
|
||||
|
||||
Reference in New Issue
Block a user