Add and fix monitor widget class

This commit is contained in:
Svilen Markov 2024-08-31 18:51:59 +01:00
parent e6979c77e3
commit 3a9cff697b
2 changed files with 5 additions and 2 deletions

View File

@ -1107,10 +1107,13 @@ kbd:active {
}
.monitor-site:hover .monitor-site-icon {
filter: grayscale(0);
opacity: 1;
}
.monitor-site:hover .monitor-site-icon:not(.simple-icon) {
filter: grayscale(0);
}
.monitor-site-status-icon {
flex-shrink: 0;
margin-left: auto;

View File

@ -5,7 +5,7 @@
<ul class="dynamic-columns list-gap-20 list-with-separator">
{{ range .Sites }}
{{ if and $.ShowFailingOnly (eq .StatusStyle "ok" ) }} {{ continue }} {{ end }}
<div class="flex items-center gap-15">
<div class="monitor-site flex items-center gap-15">
{{ template "site" . }}
</div>
{{ end }}