@import "bootstrap/variables";

.nav-item .badge {
  margin-left: 1rem;
}

@import "bootstrap/variables";

.nav-item {
  .badge {
    margin-left: 1rem;
  }
}

Fix structure of nav-item badge margin
Fix structure of nav-item badge margin
