Skip to content

Commit

Permalink
ui: Show problem badges in collapsed sidebar
Browse files Browse the repository at this point in the history
fixes #3568
  • Loading branch information
nilmerg committed Jun 26, 2019
1 parent 245f392 commit e992eb6
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions public/css/icinga/layout.less
Expand Up @@ -294,8 +294,21 @@ html.no-js .controls > .tabs {
}

#menu {
.badge {
display: none;
.nav-level-1 {
> .badge-nav-item > a {
position: relative;

> .badge {
position: absolute;
right: .5em;
bottom: .25em;
font-size: 75%;
}
}

> .nav-item.active > a > .badge {
display: unset;
}
}

img.icon {
Expand Down

0 comments on commit e992eb6

Please sign in to comment.