Update state-badge.html

adding a background-color to the icon-image in this element fixes the issue where images and icons overlap but allows a fallback if an image is not defined.  The only situation that this doesn't cover is if an icon is specified and the link is broken (i.e. a 404 on the image), then there will just be a white block. I decided this was actually more useful since then its obvious that there should be an image there.
This commit is contained in:
Ben Thomas 2016-01-14 09:33:26 -07:00
parent 0b99a5933c
commit 89eee944c6

View File

@ -21,6 +21,7 @@
iron-image {
border-radius: 50%;
background-color: #FFFFFF;
}
ha-state-icon {