fix(components): Send and sidebar buttons become inaccessible when chat-panel is resized (#309)

This commit is contained in:
E66Crisp
2025-12-18 20:16:32 +08:00
committed by GitHub
parent 58b6b19526
commit 81eb71e704
2 changed files with 5 additions and 5 deletions

View File

@@ -335,7 +335,7 @@ export function ChatInput({
{/* Action bar */}
<div className="flex items-center justify-between px-3 py-2 border-t border-border/50">
{/* Left actions */}
<div className="flex items-center gap-1">
<div className="flex items-center gap-1 overflow-x-hidden">
<ButtonWithTooltip
type="button"
variant="ghost"
@@ -386,7 +386,7 @@ export function ChatInput({
</div>
{/* Right actions */}
<div className="flex items-center gap-1">
<div className="flex items-center gap-1 overflow-hidden justify-end">
<ButtonWithTooltip
type="button"
variant="ghost"

View File

@@ -1229,14 +1229,14 @@ Continue from EXACTLY where you stopped.`,
className={`${isMobile ? "px-3 py-2" : "px-5 py-4"} border-b border-border/50`}
>
<div className="flex items-center justify-between">
<div className="flex items-center gap-2">
<div className="flex items-center gap-2 overflow-x-hidden">
<div className="flex items-center gap-2">
<Image
src="/favicon.ico"
alt="Next AI Drawio"
width={isMobile ? 24 : 28}
height={isMobile ? 24 : 28}
className="rounded"
className="rounded flex-shrink-0"
/>
<h1
className={`${isMobile ? "text-sm" : "text-base"} font-semibold tracking-tight whitespace-nowrap`}
@@ -1271,7 +1271,7 @@ Continue from EXACTLY where you stopped.`,
</Link>
)}
</div>
<div className="flex items-center gap-1">
<div className="flex items-center gap-1 justify-end overflow-x-hidden">
<ButtonWithTooltip
tooltipContent="Start fresh chat"
variant="ghost"