We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3c6707 commit 2ad9d78Copy full SHA for 2ad9d78
1 file changed
dist/binary-control-button-row.js
@@ -51,6 +51,10 @@ class CustomBinaryRow extends LitElement {
51
:host {
52
line-height: inherit;
53
}
54
+ .box {
55
+ display: flex;
56
+ flex-direction: row;
57
+ }
58
.switch {
59
margin-left: 2px;
60
margin-right: 2px;
@@ -70,7 +74,7 @@ class CustomBinaryRow extends LitElement {
70
74
render() {
71
75
return html`
72
76
<hui-generic-entity-row .hass="${this.hass}" .config="${this._config}">
73
- <div id='button-container' class='horizontal justified layout'>
77
+ <div id='button-container' class='box'>
78
<button
79
class='switch'
80
style='${this._leftColor};min-width:${this._width};max-width:${this._width};height:${this._height}'
0 commit comments