forked from crowetic/commerce
Move styles to use @apply instead of responsive classes
This commit is contained in:
parent
48e35c9163
commit
65d6ba7a7e
@ -101,7 +101,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.productTitle {
|
.productTitle {
|
||||||
@apply max-w-full w-full;
|
@apply pt-0 max-w-full w-full leading-extra-loose;
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
letter-spacing: 0.4px;
|
letter-spacing: 0.4px;
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ const ProductCard: FC<Props> = ({
|
|||||||
<div className={s.squareBg} />
|
<div className={s.squareBg} />
|
||||||
<div className="flex flex-row justify-between box-border w-full z-20 absolute">
|
<div className="flex flex-row justify-between box-border w-full z-20 absolute">
|
||||||
<div className="absolute top-0 left-0 pr-16 max-w-full">
|
<div className="absolute top-0 left-0 pr-16 max-w-full">
|
||||||
<h3 className={cn('leading-extra-loose pt-0 sm:pt-2 sm:leading-normal', s['productTitle'])}>
|
<h3 className={s.productTitle}>
|
||||||
<span>{p.name}</span>
|
<span>{p.name}</span>
|
||||||
</h3>
|
</h3>
|
||||||
<span className={s.productPrice}>{price}</span>
|
<span className={s.productPrice}>{price}</span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user