Fix to CSS for custom icon sizes

This commit is contained in:
Paul T 2018-06-30 17:30:09 -04:00
parent a6b1fcc3b9
commit 979bf3b3f0

View file

@ -37,6 +37,12 @@ TEMPLATE.innerHTML = `
width: 3.0rem; width: 3.0rem;
height: 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 { :host([shape=square]) #icon {
padding: .25em; padding: .25em;
border: .07em solid rgba(0,0,0,.1); border: .07em solid rgba(0,0,0,.1);