Skip to content

Commit 2ad9d78

Browse files
authored
Update binary-control-button-row.js
1 parent f3c6707 commit 2ad9d78

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

dist/binary-control-button-row.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ class CustomBinaryRow extends LitElement {
5151
:host {
5252
line-height: inherit;
5353
}
54+
.box {
55+
display: flex;
56+
flex-direction: row;
57+
}
5458
.switch {
5559
margin-left: 2px;
5660
margin-right: 2px;
@@ -70,7 +74,7 @@ class CustomBinaryRow extends LitElement {
7074
render() {
7175
return html`
7276
<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'>
7478
<button
7579
class='switch'
7680
style='${this._leftColor};min-width:${this._width};max-width:${this._width};height:${this._height}'

0 commit comments

Comments
 (0)