From 840ea0b41bd738ce98c90c956696fea3584bb0e1 Mon Sep 17 00:00:00 2001 From: Stasiek Michalski Date: Sat, 2 Jun 2018 07:22:20 +0200 Subject: [PATCH 1/3] Update app.blade.php --- resources/views/layouts/app.blade.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index e25fe9249..79cae0a5a 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -19,12 +19,10 @@ @include('layouts.partial.nav') -
+
@yield('content')
-
- @include('layouts.partial.footer') -
+ @include('layouts.partial.footer') @stack('scripts') From ddbf0adb67e4f2d493dfc167b1606dd78d130884 Mon Sep 17 00:00:00 2001 From: Stasiek Michalski Date: Sat, 2 Jun 2018 07:26:24 +0200 Subject: [PATCH 2/3] Add CSS to keep footer always at the bottom --- resources/assets/sass/custom.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/resources/assets/sass/custom.scss b/resources/assets/sass/custom.scss index e84a5dac5..15d11bb10 100644 --- a/resources/assets/sass/custom.scss +++ b/resources/assets/sass/custom.scss @@ -1,3 +1,15 @@ +html, body { + min-height:100vh; +} + +body { + display: flex; + flex-flow: column; +} + +#content { + margin-bottom: auto !important; +} body, button, input, textarea { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI", Roboto,Helvetica,Arial,sans-serif; From da417a55454b4d25b5e3d47869571e9e4e831f81 Mon Sep 17 00:00:00 2001 From: Stasiek Michalski Date: Sat, 2 Jun 2018 07:27:55 +0200 Subject: [PATCH 3/3] Remove useless padding from footer --- resources/views/layouts/partial/footer.blade.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/views/layouts/partial/footer.blade.php b/resources/views/layouts/partial/footer.blade.php index 7cc7f6551..29cd2d2d1 100644 --- a/resources/views/layouts/partial/footer.blade.php +++ b/resources/views/layouts/partial/footer.blade.php @@ -1,6 +1,6 @@ -