Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

Adjust ScrollToBottomButton position for improved layout consistency

Salman-Ahamedbb77122b7e40
diff --git a/packages/app/src/react/features/ai-chat/components/scroll-to-bottom-button.tsx b/packages/app/src/react/features/ai-chat/components/scroll-to-bottom-button.tsx
index 217dee7b..5ee796ff 100644
--- a/packages/app/src/react/features/ai-chat/components/scroll-to-bottom-button.tsx
+++ b/packages/app/src/react/features/ai-chat/components/scroll-to-bottom-button.tsx
@@ -4,7 +4,7 @@ import { FaArrowDown } from 'react-icons/fa6';
type IButtonProps = DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
export const ScrollToBottomButton: FC<IButtonProps> = ({ onClick }) => (
- <div className="w-full max-w-4xl flex justify-center items-center absolute -top-2.5 z-10">
+ <div className="w-full max-w-4xl flex justify-center items-center absolute -top-5 z-10">
<button
className="bg-white border border-solid border-black border-opacity-10 text-gray-900 rounded-full p-2 shadow-lg hover:bg-gray-50 transition-colors duration-200"
onClick={onClick}