From 2877f7709ad17e1aef5e0f5fb104635babc6fb6e Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Tue, 28 Oct 2025 18:34:42 +0000 Subject: [PATCH] fix issues with icon coloring in chrome by switching to img tags --- web/css/form.css | 2 +- web/css/style.css | 4 ++ web/html/index.html | 4 +- web/images/common/blank.svg | 1 + web/scripts/config.js | 16 ++++---- web/scripts/dialog.js | 14 +++---- web/scripts/index.js | 48 ++++++++++++---------- web/scripts/utils.js | 13 ++---- web/templates/backups.go.tmpl | 8 ++-- web/templates/config.go.tmpl | 64 ++++++++++++++--------------- web/templates/instance-card.go.tmpl | 49 +++++++++++----------- 11 files changed, 115 insertions(+), 108 deletions(-) create mode 100644 web/images/common/blank.svg diff --git a/web/css/form.css b/web/css/form.css index 0e80897..5828005 100644 --- a/web/css/form.css +++ b/web/css/form.css @@ -16,7 +16,7 @@ padding: 8px; } -.input-grid svg { +.input-grid img { padding: 0; } diff --git a/web/css/style.css b/web/css/style.css index e013dd7..e0d91a4 100644 --- a/web/css/style.css +++ b/web/css/style.css @@ -100,6 +100,10 @@ img, svg { color: var(--main-text-color) } +a img { + vertical-align: unset; +} + hr { border-color: var(--main-text-color); } diff --git a/web/html/index.html b/web/html/index.html index 7eb307e..8e1d383 100644 --- a/web/html/index.html +++ b/web/html/index.html @@ -74,13 +74,13 @@