Skip to content

Commit

Permalink
Add includes to escape layout structure and create fullwidth sections
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Jul 3, 2024
1 parent 119ce54 commit 75a9037
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _includes/fullwidth_end.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
</div><!--.fullwidth-->
<div class="content">
<div class="container">
<div class="prose">
4 changes: 4 additions & 0 deletions _includes/fullwidth_start.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
</div><!--.prose-->
</div><!--.container-->
</div><!--.content-->
<div id="{{ include.id }}" class="fullwidth {{ include.class }}">
5 changes: 5 additions & 0 deletions _sass/dogwood/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1250,6 +1250,11 @@ table.schedule {
padding-bottom: $sp*2;
width: 100%;
}
.fullwidth {
width: 100%;
position: relative;
overflow: hidden;
}

article {
position: relative;
Expand Down

0 comments on commit 75a9037

Please sign in to comment.