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:
2025-11-19 18:15:54 +01:00
parent 7b9cf135e4
commit 6b735b5a40
2 changed files with 2 additions and 2 deletions

View File

@@ -163,4 +163,4 @@ export const DownloadCardDescription = createTextComponent(
) )
export const CT = createTextComponent('span', 'text-base lg:text-lg leading-normal font-medium') 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')

View File

@@ -82,7 +82,7 @@ export function NodeSpecs() {
{/* INNER CARD */} {/* INNER CARD */}
<div <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 || "" item.innerRounded || ""
}`} }`}
> >