Skip to content
Closed
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
7 changes: 6 additions & 1 deletion packages/shared/src/components/buttons/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,12 @@ function ButtonComponent<TagName extends AllowedTags>(
) &&
getIconWithSize(icon, iconSecondaryOnHover ? isHovering : false)}
{hasChildren && (
<span className={classNames('btn-label', loading && 'invisible')}>
<span
className={classNames(
'btn-label flex items-center gap-1',
loading && 'invisible',
)}
>
{children}
</span>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,8 @@ const IntroScreen = () => {
)}
{!canPurchaseCores && (
<Button className="w-full" variant={ButtonVariant.Primary} disabled>
<span className="inline-flex gap-1">
{' '}
Insufficient Cores
<CoreIcon secondary />{' '}
</span>
Insufficient Cores
<CoreIcon secondary />
{product.value === 0
? 'Free'
: formatCoresCurrency(product.value)}
Expand Down
Loading