[new feature] Icon: name can be URL (#2149)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user