Fix line-height when using custom icon font as section icon.

This commit is contained in:
bjarnef
2016-04-14 22:18:14 +02:00
parent fcaa4ad8d6
commit 054fd9ecef

View File

@@ -22,6 +22,8 @@ ul.sections li [class^="icon-"]:before,
ul.sections li [class*=" icon-"]:before,
ul.sections li img.icon-section {
font-size: 30px;
line-height: 20px; /* set line-height to ensure all icons use same line-height */
display: inline-block;
margin: 1px 0 0 0;
opacity: 0.4;
-webkit-transition: all .3s linear;