fix chat button alignment and spacing for attachments (#4794)

This commit is contained in:
Zane
2025-09-25 13:51:13 -07:00
committed by GitHub
parent b7604e0b13
commit f0ab2c50be
+2 -2
View File
@@ -1325,7 +1325,7 @@ export default function ChatInput({
</div>
{/* Inline action buttons on the right */}
<div className="flex items-center gap-1 px-2 relative">
<div className="flex items-center gap-1 px-2 relative self-center">
{/* Microphone button - show only if dictation is enabled */}
{dictationSettings?.enabled && (
<>
@@ -1472,7 +1472,7 @@ export default function ChatInput({
{/* Combined files and images preview */}
{(pastedImages.length > 0 || allDroppedFiles.length > 0) && (
<div className="flex flex-wrap gap-2 p-2 border-t border-borderSubtle">
<div className="flex flex-wrap gap-2 p-4 mt-2 border-t border-borderSubtle">
{/* Render pasted images first */}
{pastedImages.map((img) => (
<div key={img.id} className="relative group w-20 h-20">