Merge pull request #1661 from pixelfed/trwnh-uifixes

use fa-stack for admin badge
This commit is contained in:
daniel 2019-09-05 18:28:36 -06:00 committed by GitHub
commit be1d9e55bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,10 +86,9 @@
<div class="profile-details"> <div class="profile-details">
<div class="d-none d-md-flex username-bar pb-3 align-items-center"> <div class="d-none d-md-flex username-bar pb-3 align-items-center">
<span class="font-weight-ultralight h3 mb-0">{{profile.username}}</span> <span class="font-weight-ultralight h3 mb-0">{{profile.username}}</span>
<span class="pl-1 pb-2" v-if="profile.is_admin" title="Admin Account" data-toggle="tooltip"> <span class="pl-1 pb-2 fa-stack" v-if="profile.is_admin" title="Admin Account" data-toggle="tooltip">
<i class="fas fa-certificate fa-lg text-primary"> <i class="fas fa-certificate fa-lg text-primary fa-stack-1x"></i>
</i> <i class="fas fa-check text-white fa-sm fa-stack-1x" style="font-size:9px;"></i>
<i class="fas fa-check text-white fa-sm" style="font-size:9px;margin-left: -1.1rem;padding-bottom: 0.6rem;"></i>
</span> </span>
<span v-if="profile.id != user.id && user.hasOwnProperty('id')"> <span v-if="profile.id != user.id && user.hasOwnProperty('id')">
<span class="pl-4" v-if="relationship.following == true"> <span class="pl-4" v-if="relationship.following == true">