I just created a super tile 1x1 dimensions and looks like this:
and yet on the dashboard it displays like this:
I do have the following set:
/* Set default for all tiles */
.tile .title { top:70%; font-size: 2vh }
.tile .icon svg { width: 45%; height: 45%; margin: 0; position: absolute; top: 30%; left: 50%; transform: translate(-50%, -50%); }
.tile .tile-footer { text-align: center; bottom: unset; top:85%; font-size: 2vh}
.tile .tile-footer .status span.right { float: inherit !important; }
/* Set default for all active tiles /
/ .tile.active .icon { width: 100%; height: 100%; margin: 0; position: absolute; top: 30%; left: 50%; transform: translate(-50%, -50%); } */
/* Set default for all switch tiles */
.tile.hero-attribute [data-attribute=âswitchâ] svg {width: 45%; height: 45%; margin: 0; position: absolute; top: 30%; left: 50%; transform: translate(-50%, -50%); }
I do have other css but I donât think anything is relevant to this. But this doesnât seem to impact the icon size when I add a tile with this same icon. What am I doing wrong? Thanks.