Skip to content

Commit

Permalink
Update binary-control-button-row.js
Browse files Browse the repository at this point in the history
  • Loading branch information
finity69x2 authored May 11, 2023
1 parent f3c6707 commit 2ad9d78
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dist/binary-control-button-row.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ class CustomBinaryRow extends LitElement {
:host {
line-height: inherit;
}
.box {
display: flex;
flex-direction: row;
}
.switch {
margin-left: 2px;
margin-right: 2px;
Expand All @@ -70,7 +74,7 @@ class CustomBinaryRow extends LitElement {
render() {
return html`
<hui-generic-entity-row .hass="${this.hass}" .config="${this._config}">
<div id='button-container' class='horizontal justified layout'>
<div id='button-container' class='box'>
<button
class='switch'
style='${this._leftColor};min-width:${this._width};max-width:${this._width};height:${this._height}'
Expand Down

0 comments on commit 2ad9d78

Please sign in to comment.