Skip to content

Commit

Permalink
feat: badge notification (#193)
Browse files Browse the repository at this point in the history
Co-authored-by: audi pratama <Audi.Priyatna@prolind-group.net>
  • Loading branch information
pratamaaudi and audi pratama committed Jan 16, 2023
1 parent 6048352 commit 7f1a31b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/assets/scss/components/_badge.scss
Expand Up @@ -9,6 +9,11 @@
}
}

.badge-notification {
position: absolute;
right: 20px;
padding: 3px;
}

a.badge:hover {

Expand Down
1 change: 1 addition & 0 deletions src/layouts/vertical-navbar.html
Expand Up @@ -49,6 +49,7 @@ <h6 class="dropdown-header">Mail</h6>
<li class="nav-item dropdown me-3">
<a class="nav-link active dropdown-toggle text-gray-600" href="#" data-bs-toggle="dropdown" data-bs-display="static" aria-expanded="false">
<i class='bi bi-bell bi-sub fs-4'></i>
<span class="badge badge-notification bg-danger">7</span>
</a>
<ul class="dropdown-menu dropdown-menu-end notification-dropdown" aria-labelledby="dropdownMenuButton">
<li class="dropdown-header">
Expand Down

0 comments on commit 7f1a31b

Please sign in to comment.