[new feature] Icon: name can be URL (#2149)

This commit is contained in:
neverland
2018-11-26 20:27:30 +08:00
committed by GitHub
parent d337bd2e20
commit dc11970fa0
38 changed files with 249 additions and 449 deletions
+16
View File
@@ -14,6 +14,22 @@
font-size: inherit;
text-rendering: auto;
&--image {
width: 1em;
height: 1em;
img {
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
max-width: 100%;
max-height: 100%;
position: absolute;
}
}
&::before {
display: inline-block;
}