From fcaf7195294b02269638abc8e7ef17a086233c71 Mon Sep 17 00:00:00 2001 From: M_12 Date: Wed, 19 Apr 2023 19:06:53 +0600 Subject: [PATCH] fixed 404 switch --- source/error.html | 2 +- source/style.css | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/source/error.html b/source/error.html index e3d83c7..f6e31d8 100644 --- a/source/error.html +++ b/source/error.html @@ -10,7 +10,7 @@ - +
diff --git a/source/style.css b/source/style.css index 2da5561..21df0d5 100644 --- a/source/style.css +++ b/source/style.css @@ -23,6 +23,9 @@ html, body { body.desktop .main.desktop { display: grid; } +body.desktop .main.error { + display: grid; +} body.mobile .main.mobile { display: grid; } @@ -95,7 +98,7 @@ body.mobile .main.mobile { /* ============ERROR============ */ /* MAIN_ERROR_START */ .main.error { - display: grid; + display: none; width: 100%; height: 100%; background: var(--main-g-color);