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