mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-15 05:45:20 +00:00
ui nits
This commit is contained in:
parent
648df845f0
commit
ab1185646d
2 changed files with 3 additions and 3 deletions
|
|
@ -101,7 +101,7 @@ export const AskSourcebotDemoCards = ({
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="w-full mt-8 space-y-12 px-4 max-w-[1200px]">
|
<div className="w-full mt-8 space-y-12 px-4 max-w-[1000px]">
|
||||||
{/* Search Context Row */}
|
{/* Search Context Row */}
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
<div className="text-center mb-8">
|
<div className="text-center mb-8">
|
||||||
|
|
|
||||||
|
|
@ -162,7 +162,7 @@ export const ChatBox = ({
|
||||||
if (isSubmitDisabled) {
|
if (isSubmitDisabled) {
|
||||||
if (isSubmitDisabledReason === "no-repos-selected") {
|
if (isSubmitDisabledReason === "no-repos-selected") {
|
||||||
toast({
|
toast({
|
||||||
description: "⚠️ One or more repositories or search contexts must be selected.",
|
description: "⚠️ You must select at least one search context",
|
||||||
variant: "destructive",
|
variant: "destructive",
|
||||||
});
|
});
|
||||||
onContextSelectorOpenChanged(true);
|
onContextSelectorOpenChanged(true);
|
||||||
|
|
@ -339,7 +339,7 @@ export const ChatBox = ({
|
||||||
<TooltipContent>
|
<TooltipContent>
|
||||||
<div className="flex flex-row items-center">
|
<div className="flex flex-row items-center">
|
||||||
<TriangleAlertIcon className="h-4 w-4 text-warning mr-1" />
|
<TriangleAlertIcon className="h-4 w-4 text-warning mr-1" />
|
||||||
<span className="text-destructive">One or more repositories or search contexts must be selected.</span>
|
<span className="text-destructive">You must select at least one search context</span>
|
||||||
</div>
|
</div>
|
||||||
</TooltipContent>
|
</TooltipContent>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue