Skip to content

Commit 3d7c774

Browse files
committed
fix(login-fire-button): ensure child has same width
Before this commit the `paper-social-button` width could not be the same as its parent. So when user was setting the width of `login-fire-button` the button was not applying it. Now, it does so you can change the width of the button directly on the `login-fire-button` and not only on the encapsulated `paper-social-button`.
1 parent b674d6d commit 3d7c774

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

login-fire-button.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@
4242
-->
4343
<dom-module id="login-fire-button">
4444
<template>
45+
<style>
46+
:host {
47+
display: inline-block;
48+
--login-fire-button: {
49+
width: 100%;
50+
};
51+
}
52+
</style>
4553
<paper-social-button
4654
provider="[[config.provider]]"
4755
no-sign-in="[[noSignIn]]"

0 commit comments

Comments
 (0)