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;
|
app?: Application;
|
||||||
|
|
||||||
@property()
|
@property()
|
||||||
size: PFSize = PFSize.Large;
|
size?: PFSize;
|
||||||
|
|
||||||
static get styles(): CSSResult[] {
|
static get styles(): CSSResult[] {
|
||||||
return [
|
return [
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import { PFSize } from "@goauthentik/app/elements/Spinner";
|
||||||
import { truncateWords } from "@goauthentik/common/utils";
|
import { truncateWords } from "@goauthentik/common/utils";
|
||||||
import { AKElement, rootInterface } from "@goauthentik/elements/Base";
|
import { AKElement, rootInterface } from "@goauthentik/elements/Base";
|
||||||
import "@goauthentik/elements/Expand";
|
import "@goauthentik/elements/Expand";
|
||||||
|
@ -77,7 +78,7 @@ export class LibraryApplication extends AKElement {
|
||||||
href="${ifDefined(this.application.launchUrl ?? "")}"
|
href="${ifDefined(this.application.launchUrl ?? "")}"
|
||||||
target="${ifDefined(this.application.openInNewTab ? "_blank" : undefined)}"
|
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>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="pf-c-card__title">
|
<div class="pf-c-card__title">
|
||||||
|
|
Reference in New Issue