Skip to content

fix: always show close icon #4869

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

Merged
merged 1 commit into from
Mar 28, 2025
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions extensions/vscode/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 11 additions & 6 deletions gui/src/components/ExploreHubCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,17 @@ export function ExploreHubCard() {
return dispatch(setIsExploreDialogOpen(false));
}}
>
<div className="flex flex-col items-center gap-1 p-4 text-center">
<h2 className="text-2xl font-semibold">Create Your Own Assistant</h2>
<div className="flex flex-col items-center gap-1 px-4 text-center">
<div className="mb-4">
<h2 className="mb-1 text-xl font-semibold">
Create Your Own Assistant
</h2>

<p className="max-w-lg text-base leading-relaxed">
Discover and remix popular assistants, or create your own from scratch
</p>
<p className="text-lightgray my-0 max-w-lg text-sm font-light leading-relaxed">
Discover and remix popular assistants, or create your own from
scratch
</p>
</div>

<Button
className="w-full"
Expand All @@ -50,7 +55,7 @@ export function ExploreHubCard() {
});
}}
>
<div className="mt-4 flex cursor-pointer items-center justify-center gap-1">
<div className="flex cursor-pointer items-center justify-center gap-1">
<span>Or, create your own assistant from scratch</span>
<ChevronRightIcon className="h-3 w-3" />
</div>
Expand Down
4 changes: 2 additions & 2 deletions gui/src/components/ReusableCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ export function ReusableCard({
>
{showCloseButton && (
<CloseButton onClick={onClose}>
<XMarkIcon className="mt-1.5 hidden h-5 w-5 hover:brightness-125 sm:flex" />
<XMarkIcon className="flex h-5 w-5 hover:brightness-125" />
</CloseButton>
)}
<div className="content py-4">{children}</div>
<div className="content py-2">{children}</div>
</StyledCard>
);
}
Loading