From 3bc1d6a6904697f1f3770037a44d95f74006c281 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 # Conflicts: # web/src/elements/stages/identification/IdentificationStage.ts --- .../stages/identification/IdentificationStage.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/web/src/elements/stages/identification/IdentificationStage.ts b/web/src/elements/stages/identification/IdentificationStage.ts index 51d6d3a6d..25c642582 100644 --- a/web/src/elements/stages/identification/IdentificationStage.ts +++ b/web/src/elements/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 { Challenge } from "../../../api/Flows"; import { COMMON_STYLES } from "../../../common/styles"; import { BaseStage } from "../base"; @@ -31,7 +31,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 {