diff --git a/resources/assets/sass/custom.scss b/resources/assets/sass/custom.scss index cb3bf28a..01951630 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; diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 58c55b13..1ee1930b 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') diff --git a/resources/views/layouts/partial/footer.blade.php b/resources/views/layouts/partial/footer.blade.php index 382d513b..29cd2d2d 100644 --- a/resources/views/layouts/partial/footer.blade.php +++ b/resources/views/layouts/partial/footer.blade.php @@ -1,6 +1,6 @@