Skip to content

Commit b492e07

Browse files
committed
Reduce leading in CTAs so it more closely match the live site
1 parent ee4d4c8 commit b492e07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/Cta/Cta.styles.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { type CtaIconLeftMarginType } from './Cta.types';
22

33
export const cta = 'group/cta transition-all';
4-
export const buttonBase = 'block font-normal w-fit no-underline hocus:underline';
4+
export const buttonBase = 'block font-normal w-fit no-underline hocus:underline leading-tight';
55
// hocus to plum dark gradient instead of solid plum dark to avoid a flash of white background on hocus
66
export const gradientButtonBase = 'bg-gradient-to-tr hocus:from-plum-dark hocus:to-plum-dark text-white hocus:text-white';
7-
export const textLinkBase = 'block font-semibold w-fit no-underline text-18 md:text-20';
7+
export const textLinkBase = 'block font-semibold w-fit no-underline text-18 md:text-20 leading-tight';
88
export const gradientTextLinkBase = 'bg-clip-text bg-gradient-to-tr text-transparent hocus:text-transparent';
99

1010
// Maps to linkButtonStyle props in SbCtaLink. Only used for the Button style.

0 commit comments

Comments
 (0)