mirror of
https://github.com/vercel/commerce.git
synced 2025-07-05 20:51: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 {
|
.subtitle {
|
||||||
@apply spacing-horizontal-left collection-subtitle;
|
margin-top: .4rem;
|
||||||
}
|
}
|
@ -11,7 +11,7 @@ interface CollectionHeadingProps {
|
|||||||
const CollectionHeading = ({ type='default', children, subtitle }: CollectionHeadingProps) => {
|
const CollectionHeading = ({ type='default', children, subtitle }: CollectionHeadingProps) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section className="collectionHeading">
|
<section>
|
||||||
<HeadingCommon type={type} children={children}/>
|
<HeadingCommon type={type} children={children}/>
|
||||||
<div className={s.subtitle}>{subtitle}</div>
|
<div className={s.subtitle}>{subtitle}</div>
|
||||||
</section>
|
</section>
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
@import '../../../styles/utilities';
|
@import '../../../styles/utilities';
|
||||||
|
|
||||||
.headingCommon {
|
.headingCommon {
|
||||||
@apply font-heading uppercase text-left spacing-horizontal-left;
|
@apply heading-1 font-heading text-left;
|
||||||
font-size: 3.2rem;
|
|
||||||
line-height: 4rem;
|
|
||||||
|
|
||||||
&.highlight {
|
&.highlight {
|
||||||
color: var(--negative);
|
color: var(--negative);
|
||||||
@ -14,10 +12,4 @@
|
|||||||
&.center {
|
&.center {
|
||||||
@apply text-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