Skip to content

Commit

Permalink
Update fan-percent-button-row.js
Browse files Browse the repository at this point in the history
  • Loading branch information
finity69x2 authored May 11, 2023
1 parent 5c1dfd0 commit 03744d8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dist/fan-percent-button-row.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ class CustomFanPercentRow extends LitElement {
:host {
line-height: inherit;
}
.box {
display: flex;
flex-direction: row;
}
.percentage {
margin-left: 2px;
margin-right: 2px;
Expand All @@ -98,7 +102,7 @@ class CustomFanPercentRow 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='percentage'
style='${this._leftColor};min-width:${this._width};max-width:${this._width};height:${this._height};${this._hideLeft}'
Expand Down

0 comments on commit 03744d8

Please sign in to comment.