Show thumbnails as tooltips.

This commit is contained in:
Dermot Duffy
2022-04-09 09:39:34 -07:00
parent 79bf66d961
commit 616c24c94b
5 changed files with 120 additions and 35 deletions
+4
View File
@@ -16,6 +16,10 @@
border: 1px solid var(--primary-color);
border-radius: var(--ha-card-border-radius, 4px);
padding: 2px;
// When details are enabled, use a background color so that the details have
// contrast with the background.
background-color: var(--primary-background-color, black);
}
img {
+3
View File
@@ -85,4 +85,7 @@ div.vis-tooltip {
padding: 0px;
background-color: unset;
border: none;
// Use browser default font-family for tooltips.
font-family: unset;
}