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}
|
||||
className={cn(
|
||||
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",
|
||||
variant === "navigation" && active
|
||||
? "bg-accent text-accent-foreground shadow-sm"
|
||||
|
|
@ -458,7 +458,7 @@ export function KnowledgeDropdown({
|
|||
) : (
|
||||
<Plus className="h-4 w-4" />
|
||||
)}
|
||||
<span>
|
||||
<span className="text-sm font-medium">
|
||||
{isLoading
|
||||
? fileUploading
|
||||
? "Uploading..."
|
||||
|
|
|
|||
|
|
@ -742,8 +742,7 @@ function KnowledgeSourcesPage() {
|
|||
<Button
|
||||
onClick={() => navigateToKnowledgePage(connector)}
|
||||
disabled={isSyncing === connector.id}
|
||||
className="w-full cursor-pointer"
|
||||
size="sm"
|
||||
className="w-full cursor-pointer h-10"
|
||||
>
|
||||
<Plus className="h-4 w-4" />
|
||||
Add Knowledge
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue