mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-10 05:39:11 +00:00
Reduce size of start chat and edit buttons on agent card in web app
This commit is contained in:
@@ -360,7 +360,7 @@ function AgentCard(props: AgentCardProps) {
|
|||||||
<Popover>
|
<Popover>
|
||||||
<PopoverTrigger>
|
<PopoverTrigger>
|
||||||
<Button
|
<Button
|
||||||
className={`bg-[hsl(var(--background))] w-14 h-14 rounded-xl border dark:border-neutral-700 shadow-sm hover:bg-stone-100 dark:hover:bg-neutral-900`}
|
className={`bg-[hsl(var(--background))] w-10 h-10 p-0 rounded-xl border dark:border-neutral-700 shadow-sm hover:bg-stone-100 dark:hover:bg-neutral-900`}
|
||||||
>
|
>
|
||||||
<DotsThreeVertical
|
<DotsThreeVertical
|
||||||
className={`w-6 h-6 ${convertColorToTextClass(props.data.color)}`}
|
className={`w-6 h-6 ${convertColorToTextClass(props.data.color)}`}
|
||||||
@@ -417,7 +417,7 @@ function AgentCard(props: AgentCardProps) {
|
|||||||
<div className="float-right">
|
<div className="float-right">
|
||||||
{props.userProfile ? (
|
{props.userProfile ? (
|
||||||
<Button
|
<Button
|
||||||
className={`bg-[hsl(var(--background))] w-14 h-14 rounded-xl border dark:border-neutral-700 shadow-sm hover:bg-stone-100 dark:hover:bg-neutral-900`}
|
className={`bg-[hsl(var(--background))] w-10 h-10 p-0 rounded-xl border dark:border-neutral-700 shadow-sm hover:bg-stone-100 dark:hover:bg-neutral-900`}
|
||||||
onClick={() => openChat(props.data.slug, userData)}
|
onClick={() => openChat(props.data.slug, userData)}
|
||||||
>
|
>
|
||||||
<PaperPlaneTilt
|
<PaperPlaneTilt
|
||||||
@@ -507,7 +507,7 @@ function AgentCard(props: AgentCardProps) {
|
|||||||
<Popover>
|
<Popover>
|
||||||
<PopoverTrigger>
|
<PopoverTrigger>
|
||||||
<Button
|
<Button
|
||||||
className={`bg-[hsl(var(--background))] w-14 h-14 rounded-xl border dark:border-neutral-700 shadow-sm hover:bg-stone-100 dark:hover:bg-neutral-900`}
|
className={`bg-[hsl(var(--background))] w-10 h-10 p-0 rounded-xl border dark:border-neutral-700 shadow-sm hover:bg-stone-100 dark:hover:bg-neutral-900`}
|
||||||
>
|
>
|
||||||
<DotsThreeVertical
|
<DotsThreeVertical
|
||||||
className={`w-6 h-6 ${convertColorToTextClass(props.data.color)}`}
|
className={`w-6 h-6 ${convertColorToTextClass(props.data.color)}`}
|
||||||
@@ -564,7 +564,7 @@ function AgentCard(props: AgentCardProps) {
|
|||||||
<div className="float-right">
|
<div className="float-right">
|
||||||
{props.userProfile ? (
|
{props.userProfile ? (
|
||||||
<Button
|
<Button
|
||||||
className={`bg-[hsl(var(--background))] w-14 h-14 rounded-xl border dark:border-neutral-700 shadow-sm hover:bg-stone-100 dark:hover:bg-neutral-900`}
|
className={`bg-[hsl(var(--background))] w-10 h-10 p-0 rounded-xl border dark:border-neutral-700 shadow-sm hover:bg-stone-100 dark:hover:bg-neutral-900`}
|
||||||
onClick={() => openChat(props.data.slug, userData)}
|
onClick={() => openChat(props.data.slug, userData)}
|
||||||
>
|
>
|
||||||
<PaperPlaneTilt
|
<PaperPlaneTilt
|
||||||
|
|||||||
Reference in New Issue
Block a user