From b6058d42018ce88bc737787425071824f38765fd Mon Sep 17 00:00:00 2001 From: Tine Date: Thu, 9 May 2024 21:05:08 +0200 Subject: [PATCH] feat: slight design improvements --- internal/handlers/settings.go | 2 +- web/static/css/tailwind.css | 17 +++++++++++++---- web/templates/components/base.tmpl | 2 +- web/templates/components/settings.tmpl | 7 ++++++- 4 files changed, 21 insertions(+), 7 deletions(-) diff --git a/internal/handlers/settings.go b/internal/handlers/settings.go index 48442a0..16ab0c4 100644 --- a/internal/handlers/settings.go +++ b/internal/handlers/settings.go @@ -45,8 +45,8 @@ var SettingsPages = []*components.Page{ var SettingsNavbar = []*components.Page{ GetPageByTitle(SettingsPages, "Overview"), - GetPageByTitle(SettingsPages, "Triggers"), GetPageByTitle(SettingsPages, "Monitors"), + GetPageByTitle(SettingsPages, "Triggers"), GetPageByTitle(SettingsPages, "Notifications"), GetPageByTitle(SettingsPages, "Worker Groups"), GetPageByTitle(SettingsPages, "Temporal"), diff --git a/web/static/css/tailwind.css b/web/static/css/tailwind.css index f8fcdee..4a9cb8b 100644 --- a/web/static/css/tailwind.css +++ b/web/static/css/tailwind.css @@ -785,10 +785,6 @@ video { width: 100%; } -.max-w-screen-lg { - max-width: 1024px; -} - .max-w-screen-md { max-width: 768px; } @@ -837,6 +833,10 @@ video { justify-content: center; } +.justify-items-center { + justify-items: center; +} + .gap-1 { gap: 0.25rem; } @@ -1213,6 +1213,11 @@ video { color: rgb(153 27 27 / var(--tw-text-opacity)); } +.text-slate-400 { + --tw-text-opacity: 1; + color: rgb(148 163 184 / var(--tw-text-opacity)); +} + .text-slate-500 { --tw-text-opacity: 1; color: rgb(100 116 139 / var(--tw-text-opacity)); @@ -1688,6 +1693,10 @@ code { letter-spacing: 0.05em; } +.\*\:w-full > * { + width: 100%; +} + .last-of-type\:border-0:last-of-type { border-width: 0px; } diff --git a/web/templates/components/base.tmpl b/web/templates/components/base.tmpl index dc67c27..217fc2c 100644 --- a/web/templates/components/base.tmpl +++ b/web/templates/components/base.tmpl @@ -16,7 +16,7 @@ Zdravko - {{ $title }} - +