adjust icon svg align

This commit is contained in:
afc163 2018-09-14 10:58:03 +08:00
parent 26c3ea4f4a
commit 0698c82173
2 changed files with 2 additions and 6 deletions

View File

@ -4,13 +4,13 @@
vertical-align: -0.125em; // for SVG icon, see https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4
text-align: center;
text-transform: none;
line-height: 1;
line-height: 0;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
svg {
display: block;
display: inline-block;
}
&:before {

View File

@ -193,10 +193,6 @@
border-radius: 20px;
opacity: 0;
svg {
display: inline-block;
}
&:hover {
color: @site-text-color-secondary;
transform: scale(1.2);