Skip to content

Commit 657c476

Browse files
author
tjaynl
committed
Added region.scss and wrapped the site-header__inner in a wrapper
1 parent 0f67326 commit 657c476

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

_src/_includes/layouts/home.vto

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: layouts/base.vto
33
---
4-
<main class="[] [ content-grid ] [ flow ]">
4+
<main class="[] [ content-grid ] [ region | flow ]">
55
{{ content }}
66
</main>

_src/_includes/partials/site-header.vto

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="site-header">
2-
<div class="site-header__inner">
2+
<div class="site-header__inner wrapper">
33
<a class="site-logo" href="/">LOGO</a>
44
<nav class="site-nav">
55
<ul class="site-nav__list" role="navigation">
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
@forward "flow";
2+
@forward "region";
23
@forward "wrapper";
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.region {
2+
padding-block: var(--region-space, 6.6vmax);
3+
}

0 commit comments

Comments
 (0)