mirror of https://github.com/itflow-org/itflow
Moved notification badge number over 3 to allow for 3 numbers without overlapping the bell
This commit is contained in:
parent
220d565544
commit
51a5b7d79a
15
top_nav.php
15
top_nav.php
|
|
@ -60,15 +60,16 @@
|
|||
|
||||
<?php if ($num_notifications > 0) { ?>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link" data-toggle="dropdown" href="#" aria-expanded="false">
|
||||
<i class="far fa-bell"></i>
|
||||
<a class="nav-link" data-toggle="dropdown" href="#">
|
||||
<i class="far fa-bell mr-3"></i>
|
||||
<span class="badge badge-danger navbar-badge"><?php echo $num_notifications; ?></span>
|
||||
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-xlg dropdown-menu-right" style="left: inherit; right: 0px;">
|
||||
<a href="notifications.php" class="dropdown-item dropdown-header"><i
|
||||
class="fas fa-fw fa-bell mr-2"></i><strong><?php echo $num_notifications; ?></strong>
|
||||
Notifications</a>
|
||||
<div class="dropdown-menu dropdown-menu-xlg dropdown-menu-right">
|
||||
<a href="notifications.php" class="dropdown-item dropdown-header">
|
||||
<i class="fas fa-fw fa-bell mr-2"></i>
|
||||
<strong><?php echo $num_notifications; ?></strong>
|
||||
Notifications
|
||||
</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<?php
|
||||
while ($row = mysqli_fetch_array($sql_notifications)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue