mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
Testing to relocate CSS according to new App dir functionality
This commit is contained in:
@@ -62,11 +62,13 @@ const ProductCard: FC<Props> = ({
|
||||
className={cn('text-high-contrast flex items-start flex-col', className)}
|
||||
>
|
||||
<Text
|
||||
className="mt-2 lg:mt-3 font-bold"
|
||||
className="mt-2 lg:mt-3"
|
||||
variant='listChildHeading'
|
||||
>
|
||||
{product.title}
|
||||
</Text>
|
||||
<Price
|
||||
<Price
|
||||
className='text-sm font-medium leading-tight lg:text-base'
|
||||
amount={`${product.price.value}`}
|
||||
currencyCode={product.price.currencyCode ? product.price.currencyCode : 'SEK'}
|
||||
/>
|
||||
|
@@ -73,7 +73,7 @@ const Text: FunctionComponent<TextProps> = ({
|
||||
variant === 'productHeading',
|
||||
['max-w-prose text-2xl font-display font-bold leading-none md:text-3xl md:leading-none lg:leading-none lg:text-4xl']:
|
||||
variant === 'sectionHeading',
|
||||
['text-sm font-semibold leading-tight lg:text-base']:
|
||||
['text-sm font-medium leading-tight lg:text-base']:
|
||||
variant === 'listChildHeading',
|
||||
['text-sm max-w-prose lg:text-base 2xl:text-lg']: variant === 'label',
|
||||
['max-w-prose lg:text-lg 2xl:text-xl']: variant === 'paragraph',
|
||||
|
Reference in New Issue
Block a user