From b381bd17fd7920ac6684748c65921414814d447c Mon Sep 17 00:00:00 2001 From: Christoph Reiter <reiter.christoph@gmail.com> Date: Thu, 2 Jul 2020 14:55:56 +0200 Subject: [PATCH] login-button: Use an array to concat styles lit-html no longer allows merging them in literals. --- packages/auth/src/login-button.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/auth/src/login-button.js b/packages/auth/src/login-button.js index 6dd94f27..265ccf4e 100644 --- a/packages/auth/src/login-button.js +++ b/packages/auth/src/login-button.js @@ -109,9 +109,9 @@ export class LoginButton extends ScopedElementsMixin(LitElement) { static get styles() { // language=css - return css` - ${commonStyles.getThemeCSS()} - + return [ + commonStyles.getThemeCSS(), + css` :host { display: inline-block; } @@ -149,7 +149,8 @@ export class LoginButton extends ScopedElementsMixin(LitElement) { .login-box .label { padding-left: 0.2em; } - `; + ` + ]; } render() { -- GitLab