Fixed weird extra padding on crown

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-06-30 14:17:53 -07:00
parent 2262ef818e
commit 46d055cf74

View file

@ -158,7 +158,7 @@
<div class="col-md-12 text-center">
@if (($user->isSuperUser()) || ($user->hasAccess('admin')))
<i class="fas fa-crown fa-2x {{ ($user->isSuperUser()) ? 'text-danger' : ' text-orange'}}"></i>
<i class="fas fa-crown fa-2x{{ ($user->isSuperUser()) ? ' text-danger' : ' text-orange'}}"></i>
<div class="{{ ($user->isSuperUser()) ? 'text-danger' : ' text-orange'}}" style="font-weight: bold">{{ ($user->isSuperUser()) ? 'superadmin' : 'admin'}}</div>
@endif
@ -280,13 +280,9 @@
<div class="col-md-9">
@if ($user->isSuperUser())
<label class="label label-danger">
<i class="fas fa-crown" title="superuser"></i>
</label>&nbsp;
<label class="label label-danger"><i class="fas fa-crown" title="superuser"></i></label>&nbsp;
@elseif ($user->hasAccess('admin'))
<label class="label label-warning">
<i class="fas fa-crown" title="admin"></i>
</label>&nbsp;
<label class="label label-warning"><i class="fas fa-crown" title="admin"></i></label>&nbsp;
@endif
{{ $user->username }}