fix chat button alignment and spacing for attachments (#4794)
This commit is contained in:
@@ -1325,7 +1325,7 @@ export default function ChatInput({
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Inline action buttons on the right */}
|
{/* 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 */}
|
{/* Microphone button - show only if dictation is enabled */}
|
||||||
{dictationSettings?.enabled && (
|
{dictationSettings?.enabled && (
|
||||||
<>
|
<>
|
||||||
@@ -1472,7 +1472,7 @@ export default function ChatInput({
|
|||||||
|
|
||||||
{/* Combined files and images preview */}
|
{/* Combined files and images preview */}
|
||||||
{(pastedImages.length > 0 || allDroppedFiles.length > 0) && (
|
{(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 */}
|
{/* Render pasted images first */}
|
||||||
{pastedImages.map((img) => (
|
{pastedImages.map((img) => (
|
||||||
<div key={img.id} className="relative group w-20 h-20">
|
<div key={img.id} className="relative group w-20 h-20">
|
||||||
|
|||||||
Reference in New Issue
Block a user