Remove left margin from icons

refs #5543
This commit is contained in:
Eric Lippmann 2015-11-04 14:08:59 +01:00
parent d0e196c6cf
commit 9bb2961a77
2 changed files with 6 additions and 2 deletions

View File

@ -103,10 +103,14 @@ td {
padding: @vertical-padding / 2 @horizontal-padding / 2;
}
// Smooth icons; ifont claims to have it, but it does not work in :before
[class^="icon-"], [class*=" icon-"] {
// Smooth icons; ifont claims to have it, but it does not work in :before
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
&:before {
margin-left: 0;
}
}
@media print {

View File

@ -1,6 +1,6 @@
/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
@icon-width: 1.4em; // 1em width + 0.2em left margin + 0.2em right margin
@icon-width: 1.2em; // 1em width + 0.2em right margin
#menu {
height: 100%;