Move styles to use @apply instead of responsive classes

This commit is contained in:
Willian Justen de Vasconcellos 2020-10-27 20:16:23 -03:00
parent 48e35c9163
commit 65d6ba7a7e
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@
}
.productTitle {
@apply max-w-full w-full;
@apply pt-0 max-w-full w-full leading-extra-loose;
font-size: 2rem;
letter-spacing: 0.4px;

View File

@ -57,7 +57,7 @@ const ProductCard: FC<Props> = ({
<div className={s.squareBg} />
<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">
<h3 className={cn('leading-extra-loose pt-0 sm:pt-2 sm:leading-normal', s['productTitle'])}>
<h3 className={s.productTitle}>
<span>{p.name}</span>
</h3>
<span className={s.productPrice}>{price}</span>