web/admin: fix impersonate button layout (#5251)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L 2023-04-14 11:20:07 +02:00 committed by GitHub
parent 96e732e45b
commit e123afd9ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 6 deletions

View File

@ -200,12 +200,14 @@ export class UserViewPage extends AKElement {
CapabilitiesEnum.Impersonate,
)
? html`
<div class="pf-c-card__footer">
<a
class="pf-c-button pf-m-tertiary"
href="${`/-/impersonation/${this.user?.pk}/`}"
>
${t`Impersonate`}
</a>
</div>
`
: html``}
<div class="pf-c-card__footer">