mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
improve spacings
This commit is contained in:
@@ -97,13 +97,13 @@
|
||||
}
|
||||
|
||||
.productTitle {
|
||||
@apply pt-4 leading-8;
|
||||
@apply pt-2 max-w-full;
|
||||
width: 400px;
|
||||
font-size: 2rem;
|
||||
letter-spacing: 0.4px;
|
||||
|
||||
& span {
|
||||
@apply inline p-4 bg-primary text-primary font-bold;
|
||||
@apply inline py-4 px-6 bg-primary text-primary font-bold;
|
||||
font-size: inherit;
|
||||
letter-spacing: inherit;
|
||||
box-decoration-break: clone;
|
||||
@@ -112,7 +112,7 @@
|
||||
}
|
||||
|
||||
.productPrice {
|
||||
@apply py-4 px-4 bg-primary text-base font-semibold inline-block text-sm leading-6;
|
||||
@apply py-4 px-6 bg-primary text-base font-semibold inline-block text-sm leading-6;
|
||||
letter-spacing: 0.4px;
|
||||
}
|
||||
|
||||
|
@@ -52,7 +52,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">
|
||||
<div className="absolute top-0 left-0 pr-16 max-w-full">
|
||||
<h3 className={s.productTitle}>
|
||||
<span>{p.name}</span>
|
||||
</h3>
|
||||
|
Reference in New Issue
Block a user