Skip to content

Commit

Permalink
css/menu: Fix alignment of items w/o icons and the search input
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Oct 29, 2015
1 parent 20c1cc7 commit 569e920
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/css/icinga/menu.less
Expand Up @@ -36,7 +36,7 @@
border-left: 5px solid @icinga-blue;
}

&.no-icon {
&.no-icon > a {
margin-left: @icon-width;
}
}
Expand Down Expand Up @@ -74,12 +74,12 @@
}

#menu input.search {
background: transparent url('../img/icons/search.png') no-repeat @vertical-padding + 0.2em center;
background: transparent url('../img/icons/search.png') no-repeat @horizontal-padding + 0.2em center;
background-size: @font-size auto;
border: none;
line-height: 2.8em;
outline: none;
padding-left: @icon-width + @vertical-padding;
padding-left: @icon-width + @horizontal-padding;
width: 100%;

&.active {
Expand Down

0 comments on commit 569e920

Please sign in to comment.