web: fix Source icons not being displayed on firefox

# Conflicts:
#	web/src/elements/stages/identification/IdentificationStage.ts
This commit is contained in:
Jens Langhammer 2021-03-09 13:06:17 +01:00
parent 786c74ef2c
commit 3bc1d6a690
1 changed files with 8 additions and 2 deletions

View File

@ -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 {