fix: better spacing around model options and summarize

This commit is contained in:
Taylor Ho
2025-07-08 16:24:13 -07:00
parent 6ae1d475da
commit f7abfbc317
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -978,7 +978,7 @@ export default function ChatInput({
</>
)}
<ModelsBottomBar dropdownRef={dropdownRef} setView={setView} alerts={alerts} />
<div className="w-px h-4 bg-border-default mx-2"></div>
<div className="w-px h-4 bg-border-default mx-2" />
<BottomMenuModeSelection setView={setView} />
{messages.length > 0 && (
<ManualSummarizeButton
@@ -1,5 +1,6 @@
import React, { useState } from 'react';
import { ScrollText } from 'lucide-react';
import { cn } from '../../utils';
import {
Dialog,
DialogContent,
@@ -47,11 +48,13 @@ export const ManualSummarizeButton: React.FC<ManualSummarizeButtonProps> = ({
return (
<>
<div className="w-px h-4 bg-border-default mx-2" />
<div className="relative flex items-center">
<button
className={`flex items-center justify-center text-text-default/70 hover:text-text-default text-xs ${
isLoadingSummary || isLoading ? 'cursor-not-allowed' : ''
}`}
className={cn(
'flex items-center justify-center text-text-default/70 hover:text-text-default text-xs cursor-pointer',
(isLoadingSummary || isLoading) && 'cursor-not-allowed'
)}
onClick={handleClick}
disabled={isLoadingSummary || isLoading}
title="Summarize conversation context"