Style fix for custom wireguard icon

This commit is contained in:
billz 2023-11-11 08:21:01 +00:00
parent d874668ce1
commit 86a8e0e41d
3 changed files with 5 additions and 2 deletions

View file

@ -16,6 +16,10 @@ License: GNU General Public License v3.0
h4.mt-3 { margin-left: 0.5rem; }
}
.sidebar.toggled .nav-item .nav-link {
padding: 0.65rem 1rem;
}
.sidebar-brand-text {
text-transform: none;
color: #212529;

View file

@ -32,7 +32,6 @@
.ra-wireguard:before {
font-size: 1.2rem;
content: "\e900";
color: #d1d3e2;
vertical-align: middle;
}

View file

@ -57,7 +57,7 @@
<?php endif; ?>
<?php if (RASPI_WIREGUARD_ENABLED) : ?>
<li class="nav-item">
<a class="nav-link" href="wg_conf"><span class="ra-wireguard mr-2"></span><span class="nav-label"><?php echo _("WireGuard"); ?></a>
<a class="nav-link" href="wg_conf"><i class="ra-wireguard mr-2"></i><span class="nav-label"><?php echo _("WireGuard"); ?></a>
</li>
<?php endif; ?>
<?php if (RASPI_VPN_PROVIDER_ENABLED) : ?>