Skip to content
Snippets Groups Projects
Commit b381bd17 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

login-button: Use an array to concat styles

lit-html no longer allows merging them in literals.
parent 4674fa04
No related branches found
No related tags found
No related merge requests found
...@@ -109,9 +109,9 @@ export class LoginButton extends ScopedElementsMixin(LitElement) { ...@@ -109,9 +109,9 @@ export class LoginButton extends ScopedElementsMixin(LitElement) {
static get styles() { static get styles() {
// language=css // language=css
return css` return [
${commonStyles.getThemeCSS()} commonStyles.getThemeCSS(),
css`
:host { :host {
display: inline-block; display: inline-block;
} }
...@@ -149,7 +149,8 @@ export class LoginButton extends ScopedElementsMixin(LitElement) { ...@@ -149,7 +149,8 @@ export class LoginButton extends ScopedElementsMixin(LitElement) {
.login-box .label { .login-box .label {
padding-left: 0.2em; padding-left: 0.2em;
} }
`; `
];
} }
render() { render() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment