mirror of
https://github.com/vercel/commerce.git
synced 2025-07-05 12:41:21 +00:00
🎨 styles: (heading common) remove padding in common
:%s
This commit is contained in:
parent
3c7aa8e862
commit
7c1a6e4b99
@ -1,5 +1,3 @@
|
||||
@import '../../../styles/utilities';
|
||||
|
||||
.subtitle {
|
||||
@apply spacing-horizontal-left collection-subtitle;
|
||||
margin-top: .4rem;
|
||||
}
|
@ -11,7 +11,7 @@ interface CollectionHeadingProps {
|
||||
const CollectionHeading = ({ type='default', children, subtitle }: CollectionHeadingProps) => {
|
||||
|
||||
return (
|
||||
<section className="collectionHeading">
|
||||
<section>
|
||||
<HeadingCommon type={type} children={children}/>
|
||||
<div className={s.subtitle}>{subtitle}</div>
|
||||
</section>
|
||||
|
@ -1,9 +1,7 @@
|
||||
@import '../../../styles/utilities';
|
||||
|
||||
.headingCommon {
|
||||
@apply font-heading uppercase text-left spacing-horizontal-left;
|
||||
font-size: 3.2rem;
|
||||
line-height: 4rem;
|
||||
@apply heading-1 font-heading text-left;
|
||||
|
||||
&.highlight {
|
||||
color: var(--negative);
|
||||
@ -13,11 +11,5 @@
|
||||
}
|
||||
&.center {
|
||||
@apply text-center;
|
||||
}
|
||||
|
||||
@screen md {
|
||||
@apply spacing-horizontal;
|
||||
font-size: 4.8rem;
|
||||
line-height: 5.6rem;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user