Skip to content

Commit

Permalink
Reduce button target zone in media player more info (#23130)
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya authored Dec 4, 2024
1 parent afcfdb5 commit 06925f0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/dialogs/more-info/controls/more-info-media_player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,17 @@ class MoreInfoMediaPlayer extends LitElement {

static get styles(): CSSResultGroup {
return css`
ha-icon-button[action="turn_off"],
ha-icon-button[action="turn_on"],
ha-slider {
flex-grow: 1;
}
ha-icon-button[action="turn_off"],
ha-icon-button[action="turn_on"] {
margin-inline-end: auto;
margin-right: auto;
margin-left: inherit;
}
.controls {
display: flex;
flex-wrap: wrap;
Expand Down

0 comments on commit 06925f0

Please sign in to comment.