mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-10-02 07:09:46 +02:00
Touchups (#1855)
This commit is contained in:
@@ -49,8 +49,10 @@ const ToggleSwitch = () => {
|
||||
onClick={() => handleTabChange("search")}
|
||||
>
|
||||
<SearchIcon size={16} className="mr-2" />
|
||||
Search
|
||||
<span className="text-xs ml-2">{commandSymbol}S</span>
|
||||
<p className="items-baseline flex">
|
||||
Search
|
||||
<span className="text-xs ml-2">{commandSymbol}S</span>
|
||||
</p>
|
||||
</button>
|
||||
<button
|
||||
className={`px-4 py-2 rounded-full text-sm font-medium transition-colors duration-300 ease-in-out flex items-center relative z-10 ${
|
||||
|
@@ -202,7 +202,7 @@ export const SearchResultsDisplay = ({
|
||||
setShowAll((showAll) => !showAll);
|
||||
}
|
||||
}}
|
||||
className={`flex items-center justify-center animate-fade-in-up rounded-lg p-1 text-xs transition-all duration-300 w-16 h-8 ${
|
||||
className={`flex items-center justify-center animate-fade-in-up rounded-lg p-1 text-xs transition-all duration-300 w-20 h-8 ${
|
||||
!sweep
|
||||
? "bg-green-500 text-text-800"
|
||||
: "bg-rose-700 text-text-100"
|
||||
@@ -217,16 +217,18 @@ export const SearchResultsDisplay = ({
|
||||
<span></span>
|
||||
{!sweep
|
||||
? agenticResults
|
||||
? "all"
|
||||
: "hide"
|
||||
? "Show All"
|
||||
: "Focus"
|
||||
: agenticResults
|
||||
? "hide"
|
||||
: "undo"}
|
||||
{!sweep ? (
|
||||
<BroomIcon className="h-4 w-4" />
|
||||
) : (
|
||||
<UndoIcon className="h-4 w-4" />
|
||||
)}
|
||||
? "Focus"
|
||||
: "Show All"}
|
||||
<span className="ml-1">
|
||||
{!sweep ? (
|
||||
<BroomIcon className="h-4 w-4" />
|
||||
) : (
|
||||
<UndoIcon className="h-4 w-4" />
|
||||
)}
|
||||
</span>
|
||||
</div>
|
||||
</button>
|
||||
</Tooltip>
|
||||
|
Reference in New Issue
Block a user