From 64a660ddd24f013a7e544064e054884f8bc73074 Mon Sep 17 00:00:00 2001 From: naiba Date: Thu, 9 Nov 2023 17:31:26 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20improve=20server-status=20theme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- .../static/theme-server-status/css/main.css | 9 ++- .../theme-server-status/content-nav.html | 4 +- .../template/theme-server-status/header.html | 4 +- .../template/theme-server-status/service.html | 62 +++++++++++-------- service/singleton/singleton.go | 2 +- 6 files changed, 47 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index a5183c6..6291803 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@
LOGO designed by 熊大 .

-    +   

:trollface: Nezha Monitoring: Self-hostable, lightweight, servers and websites monitoring and O&M tool.

diff --git a/resource/static/theme-server-status/css/main.css b/resource/static/theme-server-status/css/main.css index c5f8498..70dd1b1 100644 --- a/resource/static/theme-server-status/css/main.css +++ b/resource/static/theme-server-status/css/main.css @@ -246,7 +246,10 @@ body { min-width: 25px; max-width: 50px; } - - .service-day-status-icon { - } } + +@media only screen and (min-width: 768px) { + .pl-md-unset { + padding-left: unset !important; + } +} \ No newline at end of file diff --git a/resource/template/theme-server-status/content-nav.html b/resource/template/theme-server-status/content-nav.html index e3cac4e..95e9288 100644 --- a/resource/template/theme-server-status/content-nav.html +++ b/resource/template/theme-server-status/content-nav.html @@ -1,7 +1,7 @@ {{define "theme-server-status/content-nav"}}