Skip to content

Commit

Permalink
Remove left margin from icons
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Nov 4, 2015
1 parent d0e196c commit 9bb2961
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion public/css/icinga/base.less
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion public/css/icinga/menu.less
@@ -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%;
Expand Down

0 comments on commit 9bb2961

Please sign in to comment.