mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 14:06:59 +00:00
Revert "Adjusts product card titles for better Lighthouse score (#1147)"
This reverts commit 36360a5fc32ea72bf4c52feceda678362ec557cb.
This commit is contained in:
parent
36360a5fc3
commit
6150b8e4e0
@ -18,8 +18,8 @@ const Label = ({
|
|||||||
'lg:px-20 lg:pb-[35%]': position === 'center'
|
'lg:px-20 lg:pb-[35%]': position === 'center'
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
<div className="flex w-full items-center rounded-full border bg-white/70 p-1 text-xs font-semibold text-black backdrop-blur-md dark:border-neutral-800 dark:bg-black/70 dark:text-white">
|
<div className="flex items-center rounded-full border bg-white/70 p-1 text-[10px] font-semibold text-black backdrop-blur-md @[275px]/label:text-xs dark:border-neutral-800 dark:bg-black/70 dark:text-white">
|
||||||
<h3 className="mr-4 line-clamp-2 flex-grow pl-2 leading-none tracking-tight">{title}</h3>
|
<h3 className="mr-4 inline pl-2 leading-none tracking-tight">{title}</h3>
|
||||||
<Price
|
<Price
|
||||||
className="flex-none rounded-full bg-blue-600 p-2 text-white"
|
className="flex-none rounded-full bg-blue-600 p-2 text-white"
|
||||||
amount={amount}
|
amount={amount}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user