web: fix Source icons not being displayed on firefox

This commit is contained in:
Jens Langhammer 2021-03-09 13:06:17 +01:00
parent 34a3d81eff
commit 132b990f10
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 { 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 {