diff --git a/resources/css/app.css b/resources/css/app.css index 7fa64d0d..9b718698 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -1696,3 +1696,28 @@ html[data-wms-sidebar="collapsed"] .wms-sidebar { color: rgb(191 219 254); } } + +/* Authentication pages use normal document scrolling. The application shell + intentionally locks html/body scrolling, so auth must explicitly opt out. */ +html.auth-page, +html.auth-page body { + width: 100% !important; + height: auto !important; + min-height: 100% !important; + overflow-x: hidden !important; + overflow-y: auto !important; + overscroll-behavior-y: auto !important; +} + +html.auth-page body { + position: static !important; + inset: auto !important; + min-height: 100vh !important; +} + +@supports (min-height: 100dvh) { + html.auth-page body, + html.auth-page .wms-auth-page { + min-height: 100dvh !important; + } +} diff --git a/resources/views/layouts/auth/simple.blade.php b/resources/views/layouts/auth/simple.blade.php index d9468197..624a9820 100644 --- a/resources/views/layouts/auth/simple.blade.php +++ b/resources/views/layouts/auth/simple.blade.php @@ -1,26 +1,44 @@ - + @include('partials.head') + - + -
-
- - - - - {{ config('app.name', 'Laravel') }} - -
- {{ $slot }} -
+ +
+
+ {{ $slot }}
-
+ @persist('toast')