Skip to content

Commit

Permalink
[Bug fix] Adjust icon badge placement when nav bar is expanded (#1408)
Browse files Browse the repository at this point in the history
  • Loading branch information
mharrigan26 authored Aug 2, 2023
1 parent c486e1d commit b687355
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions app/addons/fauxton/assets/scss/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,20 @@

.faux-navbar--narrow {
width: $cf-navbar-width-collapsed;

.faux-navbar__icon-badge:after {
bottom: 38px;
right: 10px;
}
}

.faux-navbar--wide {
width: $cf-navbar-width;

.faux-navbar__icon-badge:after {
bottom: 11.5px;
right: 107px;
}
}

.faux-navbar__burger:hover .faux-navbar__burger__icon {
Expand Down Expand Up @@ -125,8 +135,6 @@
content: "";
display: inline-block;
position: relative;
top: -42px;
right: 8px;
background: $cf-navbar-item-badge-bg;
border: 1px solid $cf-navbar-item-badge-bg;
height: 8px;
Expand Down

0 comments on commit b687355

Please sign in to comment.