mirror of
https://github.com/atisawd/boxicons.git
synced 2024-11-13 19:04:52 +01:00
Fix to CSS for custom icon sizes
This commit is contained in:
parent
a6b1fcc3b9
commit
979bf3b3f0
1 changed files with 6 additions and 0 deletions
|
@ -37,6 +37,12 @@ TEMPLATE.innerHTML = `
|
|||
width: 3.0rem;
|
||||
height: 3.0rem;
|
||||
}
|
||||
|
||||
:host([size]:not([size=""]):not([size=xs]):not([size=sm]):not([size=md]):not([size=lg])) {
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
:host([shape=square]) #icon {
|
||||
padding: .25em;
|
||||
border: .07em solid rgba(0,0,0,.1);
|
||||
|
|
Loading…
Reference in a new issue