Skip to content

Commit

Permalink
restore align-self stretch on vertical sliders
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerwyn committed Oct 3, 2024
1 parent 382271e commit cc4a99c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/universal-remote-card.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/classes/remote-slider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ export class RemoteSlider extends BaseRemoteElement {

if (this.vertical) {
this.style.setProperty('width', 'fit-content');
this.style.setProperty('align-self', 'stretch');
containerStyle['height'] = `${this.sliderWidth}px`;
containerStyle['width'] = 'var(--height)';
}
Expand Down

0 comments on commit cc4a99c

Please sign in to comment.