Skip to content

Commit a67d203

Browse files
committed
fix(skills): compact bud-matched Create skills card (match quick-actions width, tighter rows)
1 parent a1742a8 commit a67d203

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

apps/web/src/components/home/home-composer.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -480,25 +480,25 @@ type AttachmentStatus = {
480480

481481
const SKILL_CREATOR_SUGGESTIONS = [
482482
"Create a skill that drafts follow-up emails from meeting notes",
483-
"Create a skill that summarizes Linear issues into a weekly digest",
483+
"Create a skill that summarizes Linear issues",
484484
"Create a skill that turns screenshots into bug reports",
485485
"Create a skill that researches a company before sales calls",
486486
] as const;
487487

488488
function SkillCreatorSuggestions({ onPick }: { onPick: (text: string) => void }) {
489489
return (
490-
<div className="mx-auto mt-6 w-full max-w-[564px] overflow-hidden rounded-[18px] border border-[#f1f1f1] bg-white">
491-
<p className="px-4 pt-3 pb-1 font-medium text-[#a0a0a0] text-[12px]">Create skills</p>
492-
<ul>
490+
<div className="mx-auto mt-6 w-full max-w-[448px] overflow-hidden rounded-[17px] border border-[#f1f1f1] bg-white">
491+
<p className="px-3.5 pt-2.5 pb-0.5 font-medium text-[#a0a0a0] text-[12px]">Create skills</p>
492+
<ul className="pb-1">
493493
{SKILL_CREATOR_SUGGESTIONS.map((suggestion) => (
494494
<li key={suggestion}>
495495
<button
496-
className="flex w-full items-center gap-2.5 px-4 py-2.5 text-left font-medium text-[#1b1b1b] text-[14px] leading-5 transition-colors hover:bg-[#f7f7f7]"
496+
className="flex w-full items-center gap-2.5 rounded-[11px] px-3.5 py-1.5 text-left font-medium text-[#1b1b1b] text-[13px] leading-5 transition-colors hover:bg-[#f7f7f7]"
497497
onClick={() => onPick(suggestion)}
498498
type="button"
499499
>
500-
<CheatcodeMark aria-hidden="true" className="h-4 w-4 shrink-0 text-[#a9842e]" />
501-
<span className="min-w-0 flex-1">{suggestion}</span>
500+
<CheatcodeMark aria-hidden="true" className="h-3.5 w-3.5 shrink-0 text-[#a0a0a0]" />
501+
<span className="min-w-0 flex-1 truncate">{suggestion}</span>
502502
</button>
503503
</li>
504504
))}

0 commit comments

Comments
 (0)