Change the dropdown-menu-right to dropdown-menu-end (bootstrap v5).

This commit is contained in:
Alex Tselegidis 2022-01-24 13:48:06 +01:00
parent cafe670b11
commit 5ca7d93781

View file

@ -48,7 +48,7 @@
<i class="fas fa-business-time me-2"></i> <i class="fas fa-business-time me-2"></i>
<?= lang('services') ?> <?= lang('services') ?>
</a> </a>
<div class="dropdown-menu dropdown-menu-right"> <div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item" href="<?= site_url('services') ?>"> <a class="dropdown-item" href="<?= site_url('services') ?>">
<?= lang('services') ?> <?= lang('services') ?>
</a> </a>
@ -66,7 +66,7 @@
<i class="fas fa-users me-2"></i> <i class="fas fa-users me-2"></i>
<?= lang('users') ?> <?= lang('users') ?>
</a> </a>
<div class="dropdown-menu dropdown-menu-right"> <div class="dropdown-menu dropdown-menu-end">
<a class="dropdown-item" href="<?= site_url('providers') ?>"> <a class="dropdown-item" href="<?= site_url('providers') ?>">
<?= lang('providers') ?> <?= lang('providers') ?>
</a> </a>
@ -87,7 +87,7 @@
<i class="fas fa-cogs me-2"></i> <i class="fas fa-cogs me-2"></i>
<?= lang('settings') ?> <?= lang('settings') ?>
</a> </a>
<div class="dropdown-menu dropdown-menu-right"> <div class="dropdown-menu dropdown-menu-end">
<?php if (can('view', PRIV_SYSTEM_SETTINGS)): ?> <?php if (can('view', PRIV_SYSTEM_SETTINGS)): ?>
<a class="dropdown-item" href="<?= site_url('general_settings') ?>"> <a class="dropdown-item" href="<?= site_url('general_settings') ?>">
<?= lang('general') ?> <?= lang('general') ?>