Skip to content

Assistant select UI hotfix #4996

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions gui/src/components/modelSelection/platform/AssistantSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ const AssistantSelectOption = ({
fontSizeModifier={-2}
>
<div className="flex w-full flex-col gap-0.5">
<div className="flex w-full items-center justify-between">
<div className="flex w-full items-center justify-between gap-2">
<div className="flex w-full items-center gap-2">
<div className="mr-2 h-4 w-4 flex-shrink-0">
<div className="h-4 w-4 flex-shrink-0">
<AssistantIcon assistant={profile} />
</div>
<span
Expand All @@ -93,12 +93,12 @@ const AssistantSelectOption = ({
{profile.title}
</span>
</div>
<div className="flex flex-row items-center gap-2">
<div className="flex flex-row items-center gap-1.5">
<div>{selected ? <CheckIcon className="h-3 w-3" /> : null}</div>
{!profile.errors?.length ? (
isLocalProfile(profile) ? (
<Cog6ToothIcon
className="h-3 w-3 flex-shrink-0 cursor-pointer"
className="cursor-pointe h-3 w-3 flex-shrink-0 hover:brightness-125"
onClick={(e) => {
e.stopPropagation();
e.preventDefault();
Expand All @@ -107,7 +107,7 @@ const AssistantSelectOption = ({
/>
) : (
<ArrowTopRightOnSquareIcon
className="h-3 w-3 flex-shrink-0 cursor-pointer"
className="h-3 w-3 flex-shrink-0 cursor-pointer hover:brightness-125"
onClick={(e) => {
e.stopPropagation();
e.preventDefault();
Expand Down
Loading