]> BookStack Code Mirror - bookstack/commitdiff
Improved styling of the 500 error page
authorDan Brown <redacted>
Sun, 2 Feb 2020 21:04:43 +0000 (21:04 +0000)
committerDan Brown <redacted>
Sun, 2 Feb 2020 21:04:43 +0000 (21:04 +0000)
resources/views/errors/500.blade.php

index 8c6822767a1f823e67782a3d0a0fb96ad89cd8e2..d06ddbc574a2707542a96d97349f86c473d36fdc 100644 (file)
@@ -2,14 +2,16 @@
 
 @section('content')
 
-    <div class="container">
-        <div class="card">
-            <h3 class="text-muted">{{ trans('errors.error_occurred') }}</h3>
+    <div class="container small py-xl">
+
+        <main class="card content-wrap auto-height">
             <div class="body">
-                <h5>{{ $message ?? 'An unknown error occurred' }}</h5>
+                <h3>{{ trans('errors.error_occurred') }}</h3>
+                <h5 class="mb-m">{{ $message ?? 'An unknown error occurred' }}</h5>
                 <p><a href="{{ url('/') }}" class="button outline">{{ trans('errors.return_home') }}</a></p>
             </div>
-        </div>
+        </main>
+
     </div>
 
 @stop
\ No newline at end of file