fix: remove textarea inner border, keep only container border
This commit is contained in:
@@ -315,7 +315,7 @@ export function ChatInput({ onSend, onAbort, isGenerating, disabled, sessionKey
|
|||||||
aria-label={t('chat.inputLabel')}
|
aria-label={t('chat.inputLabel')}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
rows={1}
|
rows={1}
|
||||||
className="flex-1 bg-transparent resize-none rounded-2xl border border-pc-border bg-pc-input/35 px-4 py-3 text-sm text-pc-text placeholder:text-pc-text-muted outline-none focus:border-[var(--pc-accent-dim)] transition-all max-h-[200px]"
|
className="flex-1 bg-transparent resize-none rounded-2xl border-none px-4 py-3 text-sm text-pc-text placeholder:text-pc-text-muted outline-none transition-all max-h-[200px]"
|
||||||
/>
|
/>
|
||||||
{isGenerating ? (
|
{isGenerating ? (
|
||||||
<button
|
<button
|
||||||
|
|||||||
@@ -223,7 +223,7 @@ html, body {
|
|||||||
inset: 0;
|
inset: 0;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
color: var(--pc-text-primary);
|
color: var(--pc-text-primary);
|
||||||
border: 1px solid transparent;
|
border: none;
|
||||||
border-radius: 1rem; /* rounded-2xl */
|
border-radius: 1rem; /* rounded-2xl */
|
||||||
max-height: 200px;
|
max-height: 200px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user