update icon style

This commit is contained in:
Luke Pulverenti 2016-05-18 01:56:10 -04:00
parent 7e3be57938
commit 4107231554

View File

@ -3,10 +3,13 @@
height: 40px; height: 40px;
padding: 8px; padding: 8px;
} }
[is=paper-icon-button-light] iron-icon {
width: 100%;
height: 100%;
}
[is=paper-icon-button-light] iron-icon, [is=paper-icon-button-light] img { [is=paper-icon-button-light] img {
/* Don't specify both dimensions or it may not get sized properly */ width: 100%;
/*width: 100%;*/
height: 100%; height: 100%;
} }
@ -18,3 +21,9 @@
background-color: currentcolor !important; background-color: currentcolor !important;
opacity: .2 !important; opacity: .2 !important;
} }
/* Make sure the img is on top of the ripple */
[is=paper-icon-button-light] img {
position: relative;
z-index: 1;
}