web/admin: fix impersonate button layout (#5251)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
96e732e45b
commit
e123afd9ee
|
@ -200,12 +200,14 @@ export class UserViewPage extends AKElement {
|
||||||
CapabilitiesEnum.Impersonate,
|
CapabilitiesEnum.Impersonate,
|
||||||
)
|
)
|
||||||
? html`
|
? html`
|
||||||
<a
|
<div class="pf-c-card__footer">
|
||||||
class="pf-c-button pf-m-tertiary"
|
<a
|
||||||
href="${`/-/impersonation/${this.user?.pk}/`}"
|
class="pf-c-button pf-m-tertiary"
|
||||||
>
|
href="${`/-/impersonation/${this.user?.pk}/`}"
|
||||||
${t`Impersonate`}
|
>
|
||||||
</a>
|
${t`Impersonate`}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
`
|
`
|
||||||
: html``}
|
: html``}
|
||||||
<div class="pf-c-card__footer">
|
<div class="pf-c-card__footer">
|
||||||
|
|
Reference in a new issue