Skip to content

Commit

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

0 comments on commit c08112d

Please sign in to comment.