refactor: improve layout responsiveness and styling for chat components

This commit is contained in:
mlogclub
2026-05-09 23:00:55 +08:00
parent d238bf17bb
commit a077e50c6f
5 changed files with 55 additions and 27 deletions
@@ -389,7 +389,7 @@ export function SharedMessageEditor({
) : null}
</div>
<div className="flex items-center gap-2">
<p className={isCustomer ? "text-[10px] text-muted-foreground" : "text-xs text-muted-foreground"}>
<p className={isCustomer ? "hidden text-[10px] text-muted-foreground sm:block" : "text-xs text-muted-foreground"}>
Enter
</p>
{isCustomer ? (
@@ -422,7 +422,7 @@ export function SharedMessageEditor({
if (isCustomer) {
return (
<div className="p-3">
<div className="px-3 pt-2 pb-3">
<div className="rounded-xl border border-border bg-background p-2 shadow-[0_8px_24px_rgba(15,23,42,0.05)] dark:shadow-none">
{editorContent}
</div>