same button heights
This commit is contained in:
parent
5b78cac7cb
commit
84558e0b9a
2 changed files with 3 additions and 4 deletions
|
|
@ -442,7 +442,7 @@ export function KnowledgeDropdown({
|
||||||
disabled={isLoading}
|
disabled={isLoading}
|
||||||
className={cn(
|
className={cn(
|
||||||
variant === "button"
|
variant === "button"
|
||||||
? "rounded-lg h-10 px-4 flex items-center gap-2 bg-primary text-primary-foreground hover:bg-primary/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
|
? "rounded-lg h-10 px-4 flex items-center gap-2 bg-primary font-medium text-primary-foreground text-sm hover:bg-primary/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
|
||||||
: "text-sm group flex p-3 w-full justify-start font-medium cursor-pointer hover:bg-accent hover:text-accent-foreground rounded-lg transition-all disabled:opacity-50 disabled:cursor-not-allowed",
|
: "text-sm group flex p-3 w-full justify-start font-medium cursor-pointer hover:bg-accent hover:text-accent-foreground rounded-lg transition-all disabled:opacity-50 disabled:cursor-not-allowed",
|
||||||
variant === "navigation" && active
|
variant === "navigation" && active
|
||||||
? "bg-accent text-accent-foreground shadow-sm"
|
? "bg-accent text-accent-foreground shadow-sm"
|
||||||
|
|
@ -458,7 +458,7 @@ export function KnowledgeDropdown({
|
||||||
) : (
|
) : (
|
||||||
<Plus className="h-4 w-4" />
|
<Plus className="h-4 w-4" />
|
||||||
)}
|
)}
|
||||||
<span>
|
<span className="text-sm font-medium">
|
||||||
{isLoading
|
{isLoading
|
||||||
? fileUploading
|
? fileUploading
|
||||||
? "Uploading..."
|
? "Uploading..."
|
||||||
|
|
|
||||||
|
|
@ -742,8 +742,7 @@ function KnowledgeSourcesPage() {
|
||||||
<Button
|
<Button
|
||||||
onClick={() => navigateToKnowledgePage(connector)}
|
onClick={() => navigateToKnowledgePage(connector)}
|
||||||
disabled={isSyncing === connector.id}
|
disabled={isSyncing === connector.id}
|
||||||
className="w-full cursor-pointer"
|
className="w-full cursor-pointer h-10"
|
||||||
size="sm"
|
|
||||||
>
|
>
|
||||||
<Plus className="h-4 w-4" />
|
<Plus className="h-4 w-4" />
|
||||||
Add Knowledge
|
Add Knowledge
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue