Fixed floated content extending past page body

As shown in #2055
This commit is contained in:
Dan Brown 2020-04-25 19:59:23 +01:00
parent c20110b6ae
commit 8fb1f7c361
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
2 changed files with 4 additions and 4 deletions

View File

@ -184,12 +184,12 @@ body.flexbox {
/** /**
* Fixes * Fixes
*/ */
.clearfix:before, .clearfix::before,
.clearfix:after { .clearfix::after {
content: " "; content: " ";
display: table; display: table;
} }
.clearfix:after { .clearfix::after {
clear: both; clear: both;
} }

View File

@ -11,7 +11,7 @@
</div> </div>
<main class="content-wrap card"> <main class="content-wrap card">
<div class="page-content" page-display="{{ $page->id }}"> <div class="page-content clearfix" page-display="{{ $page->id }}">
@include('pages.pointer', ['page' => $page]) @include('pages.pointer', ['page' => $page])
@include('pages.page-display') @include('pages.page-display')
</div> </div>