fix: always show close icon

This commit is contained in:
Patrick Erichsen 2025-03-27 14:27:12 -07:00
parent 5868fb8dfc
commit 4faed0bc17
3 changed files with 15 additions and 10 deletions

View file

@ -1,12 +1,12 @@
{
"name": "continue",
"version": "1.1.16",
"version": "1.1.17",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "continue",
"version": "1.1.16",
"version": "1.1.17",
"license": "Apache-2.0",
"dependencies": {
"@continuedev/fetch": "^1.0.3",

View file

@ -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"
@ -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>

View file

@ -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>
);
}