Skip to content

Commit 77aeeaa

Browse files
committed
Fix icon size
1 parent f8a1339 commit 77aeeaa

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/app/conf/2025/components/speaker-card.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,12 @@ function SpeakerTags({
176176
<Tag color="hsl(var(--color-neu-500))">
177177
{returningSpeakers.has(speaker.name) ? (
178178
<>
179-
<ReloadIcon className="mr-2" />
179+
<ReloadIcon className="size-3" />
180180
returning speaker
181181
</>
182182
) : (
183183
<>
184-
<PlayIcon className="mr-2" /> first time speaker
184+
<PlayIcon className="size-3" /> first time speaker
185185
</>
186186
)}
187187
</Tag>

src/app/conf/_design-system/tag.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function Tag({ color, children, style, className, ...rest }: TagProps) {
77
return (
88
<span
99
className={clsx(
10-
"relative flex items-center justify-center self-start whitespace-nowrap border px-2 py-1 font-mono text-xs/none uppercase dark:opacity-[96.5%]",
10+
"relative self-start whitespace-nowrap border px-2 py-1 font-mono text-xs/none uppercase dark:opacity-[96.5%]",
1111
className,
1212
)}
1313
style={{ borderColor: color, ...style }}
@@ -19,7 +19,9 @@ export function Tag({ color, children, style, className, ...rest }: TagProps) {
1919
backgroundColor: color,
2020
}}
2121
/>
22-
<span className="relative">{children}</span>
22+
<span className="relative flex items-center justify-center gap-2">
23+
{children}
24+
</span>
2325
</span>
2426
)
2527
}

0 commit comments

Comments
 (0)