fix for svg-icon size, added :classes property

This commit is contained in:
booploops 2022-06-28 15:08:00 -07:00
parent b5cd6e3228
commit 60f34e91d6
3 changed files with 21 additions and 11 deletions

View file

@ -509,10 +509,16 @@
._svg-icon {
--icon: url("./assets/chevron-left.svg");
width: 1em;
height: 1em;
--size: 1em;
width: var(--size);
height: var(--size);
-webkit-mask-image: var(--icon);
-webkit-mask-position: center;
background: white;
-webkit-mask-size: contain;
background: rgb(255 255 255 / 76%);
-webkit-mask-repeat: no-repeat;
&.md {
--size: 1.2em;
}
}