Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
fix: add height: 100% for vertical orientation
Browse files Browse the repository at this point in the history
Without the `height` property the element will always use the `min-height` property.
Now the `.rangeslider` element will take the whole space of its parent or just the defined `min-height`.
  • Loading branch information
andreruffert authored Jul 7, 2017
1 parent 6ac5997 commit 2c86f2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rangeslider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ $rangeslider__handle: ".rangeslider__handle";
width: 20px;
min-height: 150px;
max-height: 100%;
height: 100%;
}

#{$rangeslider--disabled} {
Expand Down

0 comments on commit 2c86f2c

Please sign in to comment.