From 665ff2b8d96813af29ee2a89d70b4b11d38d9d21 Mon Sep 17 00:00:00 2001 From: RainyXeon Date: Mon, 22 Jul 2024 16:23:06 +0700 Subject: [PATCH] improve: fatal error screen design --- webroot/css/error.css | 15 +++++++++++---- webroot/index.html | 38 ++++++++++++++++++++------------------ 2 files changed, 31 insertions(+), 22 deletions(-) diff --git a/webroot/css/error.css b/webroot/css/error.css index 936ed19..3c73e4f 100644 --- a/webroot/css/error.css +++ b/webroot/css/error.css @@ -11,13 +11,20 @@ .e-main { background-color: black; - position: fixed; - bottom: 230px; - left: 0; - right: 0; color: #fff; } +.e-wrap { + display: flex; + align-items: center; + overflow: auto; + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; +} + .e-bg { background-color: black; color: #fff; diff --git a/webroot/index.html b/webroot/index.html index 19c2d33..5048a29 100644 --- a/webroot/index.html +++ b/webroot/index.html @@ -6,6 +6,11 @@ + + + + + @@ -18,29 +23,26 @@ - - - - -