From 132b990f10102b0c977cac6a5f7a3c5753d1091b Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 9 Mar 2021 13:06:17 +0100 Subject: [PATCH] web: fix Source icons not being displayed on firefox --- .../flows/stages/identification/IdentificationStage.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/web/src/flows/stages/identification/IdentificationStage.ts b/web/src/flows/stages/identification/IdentificationStage.ts index cc4237c8d..3db34d604 100644 --- a/web/src/flows/stages/identification/IdentificationStage.ts +++ b/web/src/flows/stages/identification/IdentificationStage.ts @@ -1,5 +1,5 @@ import { gettext } from "django"; -import { CSSResult, customElement, html, property, TemplateResult } from "lit-element"; +import { css, CSSResult, customElement, html, property, TemplateResult } from "lit-element"; import { COMMON_STYLES } from "../../../common/styles"; import { BaseStage } from "../base"; import "../form"; @@ -32,7 +32,13 @@ export class IdentificationStage extends BaseStage { challenge?: IdentificationChallenge; static get styles(): CSSResult[] { - return COMMON_STYLES; + return COMMON_STYLES.concat( + css` + .pf-c-login__main-footer-links-item-link img { + width: 100px; + } + ` + ); } renderSource(source: UILoginButton): TemplateResult {