Skip to content

Commit

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

0 comments on commit f694c4b

Please sign in to comment.