mirror of
https://github.com/vercel/commerce.git
synced 2025-03-14 22:42:33 +00:00
Merge pull request #20 from willianjusten/master
Fix overlaping product titles on mobile
This commit is contained in:
commit
629df7a9ab
@ -88,10 +88,11 @@
|
||||
}
|
||||
|
||||
& .productTitle {
|
||||
margin-top: -7px;
|
||||
@apply pt-2;
|
||||
font-size: 1rem;
|
||||
|
||||
& span {
|
||||
line-height: 3;
|
||||
@apply leading-extra-loose;
|
||||
}
|
||||
}
|
||||
|
||||
@ -101,7 +102,7 @@
|
||||
}
|
||||
|
||||
.productTitle {
|
||||
@apply pt-2 max-w-full w-full;
|
||||
@apply pt-0 max-w-full w-full leading-extra-loose;
|
||||
font-size: 2rem;
|
||||
letter-spacing: 0.4px;
|
||||
|
||||
|
@ -46,6 +46,9 @@ module.exports = {
|
||||
magical:
|
||||
'rgba(0, 0, 0, 0.02) 0px 30px 30px, rgba(0, 0, 0, 0.03) 0px 0px 8px, rgba(0, 0, 0, 0.05) 0px 1px 0px',
|
||||
},
|
||||
lineHeight: {
|
||||
'extra-loose': '2.2'
|
||||
}
|
||||
},
|
||||
},
|
||||
plugins: [require('@tailwindcss/ui')],
|
||||
|
Loading…
x
Reference in New Issue
Block a user