forked from emre/www_projectmycelium_com
refactor: update line-height in CP text component and increase vertical padding in NodeSpecs cards
- Changed CP component line-height from leading-tight to leading-normal for improved readability - Increased NodeSpecs inner card vertical padding from py-4 to py-6 for better spacing
This commit is contained in:
@@ -163,4 +163,4 @@ export const DownloadCardDescription = createTextComponent(
|
||||
)
|
||||
|
||||
export const CT = createTextComponent('span', 'text-base lg:text-lg leading-normal font-medium')
|
||||
export const CP = createTextComponent('p', 'text-sm lg:text-base tracking-wide leading-tight font-light')
|
||||
export const CP = createTextComponent('p', 'text-sm lg:text-base tracking-wide leading-normal font-light')
|
||||
|
||||
@@ -82,7 +82,7 @@ export function NodeSpecs() {
|
||||
|
||||
{/* INNER CARD */}
|
||||
<div
|
||||
className={`relative flex h-full flex-row items-center gap-3 overflow-hidden rounded-[calc(var(--radius-lg)+1px)] px-8 py-4 transition-transform duration-300 hover:scale-102 hover:shadow-lg hover:shadow-cyan-500/20 ${
|
||||
className={`relative flex h-full flex-row items-center gap-3 overflow-hidden rounded-[calc(var(--radius-lg)+1px)] px-8 py-6 transition-transform duration-300 hover:scale-102 hover:shadow-lg hover:shadow-cyan-500/20 ${
|
||||
item.innerRounded || ""
|
||||
}`}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user