From 0c5cd33462a0f9ba39247d4e77619b496f6cbaf6 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Sun, 21 Jan 2018 21:36:37 -0500 Subject: [PATCH] Fix the login page on mobile --- resources/assets/sass/dashboard.scss | 6 ++++-- resources/views/dashboard/core.blade.php | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/resources/assets/sass/dashboard.scss b/resources/assets/sass/dashboard.scss index e60f10c..a766d2b 100644 --- a/resources/assets/sass/dashboard.scss +++ b/resources/assets/sass/dashboard.scss @@ -102,8 +102,10 @@ body { .panel-body { background-color: lighten($c-dashboard-light, 1%); - @media (max-width: $screen-xs-max) { - padding: 0px; + &.dashboard { + @media (max-width: $screen-xs-max) { + padding: 0px; + } } .search { diff --git a/resources/views/dashboard/core.blade.php b/resources/views/dashboard/core.blade.php index bb93a30..b9e42a8 100644 --- a/resources/views/dashboard/core.blade.php +++ b/resources/views/dashboard/core.blade.php @@ -13,7 +13,7 @@ -
+
@yield('dashboard-body')