Skip to content

Commit e98ec0b

Browse files
authored
Merge pull request continuedev#4869 from continuedev/pe/show-close-on-tutorial-card
fix: always show close icon
2 parents 5ba63cd + 4faed0b commit e98ec0b

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

gui/src/components/ExploreHubCard/index.tsx

+11-6
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,17 @@ export function ExploreHubCard() {
2323
return dispatch(setIsExploreDialogOpen(false));
2424
}}
2525
>
26-
<div className="flex flex-col items-center gap-1 p-4 text-center">
27-
<h2 className="text-2xl font-semibold">Create Your Own Assistant</h2>
26+
<div className="flex flex-col items-center gap-1 px-4 text-center">
27+
<div className="mb-4">
28+
<h2 className="mb-1 text-xl font-semibold">
29+
Create Your Own Assistant
30+
</h2>
2831

29-
<p className="max-w-lg text-base leading-relaxed">
30-
Discover and remix popular assistants, or create your own from scratch
31-
</p>
32+
<p className="text-lightgray my-0 max-w-lg text-sm font-light leading-relaxed">
33+
Discover and remix popular assistants, or create your own from
34+
scratch
35+
</p>
36+
</div>
3237

3338
<Button
3439
className="w-full"
@@ -50,7 +55,7 @@ export function ExploreHubCard() {
5055
});
5156
}}
5257
>
53-
<div className="mt-4 flex cursor-pointer items-center justify-center gap-1">
58+
<div className="flex cursor-pointer items-center justify-center gap-1">
5459
<span>Or, create your own assistant from scratch</span>
5560
<ChevronRightIcon className="h-3 w-3" />
5661
</div>

gui/src/components/ReusableCard.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ export function ReusableCard({
3333
>
3434
{showCloseButton && (
3535
<CloseButton onClick={onClose}>
36-
<XMarkIcon className="mt-1.5 hidden h-5 w-5 hover:brightness-125 sm:flex" />
36+
<XMarkIcon className="flex h-5 w-5 hover:brightness-125" />
3737
</CloseButton>
3838
)}
39-
<div className="content py-4">{children}</div>
39+
<div className="content py-2">{children}</div>
4040
</StyledCard>
4141
);
4242
}

0 commit comments

Comments
 (0)