mirror of
https://github.com/jambonz/next-static-site.git
synced 2025-12-19 04:47:44 +00:00
Add .pad-b for padding-bottom only equivalent of .pad -- use on text-layouts
This commit is contained in:
@@ -7,7 +7,7 @@ export default function Privacy({ data, parsed }) {
|
||||
return (
|
||||
<Layout siteData={data.site}>
|
||||
<Hero data={data.privacy.hero} subStyle="privacy" />
|
||||
<div className="wrap">
|
||||
<div className="wrap pad-b">
|
||||
<TextLayout data={parsed} />
|
||||
</div>
|
||||
</Layout>
|
||||
|
||||
@@ -7,7 +7,7 @@ export default function Terms({ data, parsed }) {
|
||||
return (
|
||||
<Layout siteData={data.site}>
|
||||
<Hero data={data.terms.hero} subStyle="terms" />
|
||||
<div className="wrap">
|
||||
<div className="wrap pad-b">
|
||||
<TextLayout data={parsed} />
|
||||
</div>
|
||||
</Layout>
|
||||
|
||||
@@ -23,6 +23,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
.pad-b {
|
||||
padding-bottom: 96px;
|
||||
|
||||
@media (max-width: $width-tablet-1) {
|
||||
padding-bottom: 64px;
|
||||
}
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* Above the fold
|
||||
*******************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user