From 8ab8332fb4137405f5962356762e2e345297d838 Mon Sep 17 00:00:00 2001 From: Denny Septian Panggabean Date: Mon, 28 Oct 2024 12:01:51 +0700 Subject: [PATCH 1/2] feat: design info environment top in error_exception --- app/Views/errors/html/debug.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app/Views/errors/html/debug.css b/app/Views/errors/html/debug.css index 6a050c8bb462..ca2dadbafde4 100644 --- a/app/Views/errors/html/debug.css +++ b/app/Views/errors/html/debug.css @@ -41,6 +41,7 @@ p.lead { .header { background: var(--light-bg-color); color: var(--dark-text-color); + margin-top: 2.17rem; } .header .container { padding: 1rem; @@ -65,10 +66,13 @@ p.lead { } .environment { - background: var(--dark-bg-color); - color: var(--light-text-color); + background: var(--brand-primary-color); + color: var(--main-bg-color); text-align: center; - padding: 0.2rem; + padding: calc(4px + 0.2083vw); + margin-top: -2.14rem; + width: 100%; + /* position: fixed; */ } .source { From 8ee36a541d550eb06c39538aed155bfe500a33b8 Mon Sep 17 00:00:00 2001 From: Denny Septian Panggabean Date: Mon, 28 Oct 2024 12:14:30 +0700 Subject: [PATCH 2/2] refactor: set position fixed --- app/Views/errors/html/debug.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Views/errors/html/debug.css b/app/Views/errors/html/debug.css index ca2dadbafde4..b20f36a53ce2 100644 --- a/app/Views/errors/html/debug.css +++ b/app/Views/errors/html/debug.css @@ -70,9 +70,9 @@ p.lead { color: var(--main-bg-color); text-align: center; padding: calc(4px + 0.2083vw); - margin-top: -2.14rem; width: 100%; - /* position: fixed; */ + margin-top: -2.14rem; + position: fixed; } .source {