web/user: fix app icon size for user interface
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
782d95b4a3
commit
1ba1a1def5
|
@ -17,7 +17,7 @@ export class AppIcon extends AKElement {
|
|||
app?: Application;
|
||||
|
||||
@property()
|
||||
size: PFSize = PFSize.Large;
|
||||
size?: PFSize;
|
||||
|
||||
static get styles(): CSSResult[] {
|
||||
return [
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import { PFSize } from "@goauthentik/app/elements/Spinner";
|
||||
import { truncateWords } from "@goauthentik/common/utils";
|
||||
import { AKElement, rootInterface } from "@goauthentik/elements/Base";
|
||||
import "@goauthentik/elements/Expand";
|
||||
|
@ -77,7 +78,7 @@ export class LibraryApplication extends AKElement {
|
|||
href="${ifDefined(this.application.launchUrl ?? "")}"
|
||||
target="${ifDefined(this.application.openInNewTab ? "_blank" : undefined)}"
|
||||
>
|
||||
<ak-app-icon .app=${this.application}></ak-app-icon>
|
||||
<ak-app-icon size=${PFSize.Large} .app=${this.application}></ak-app-icon>
|
||||
</a>
|
||||
</div>
|
||||
<div class="pf-c-card__title">
|
||||
|
|
Reference in New Issue