Skip to content

Commit

Permalink
[Slider] Fix textAlign prop affecting Slider rail (#16440)
Browse files Browse the repository at this point in the history
* Fix textAlign prop affecting Slider rail

* try a different approach
  • Loading branch information
mohan-cao authored and oliviertassinari committed Jul 2, 2019
1 parent a517e49 commit 7fe530f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/material-ui-lab/src/Slider/Slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ export const styles = theme => ({
disabled: {},
/* Styles applied to the rail element. */
rail: {
display: 'block',
position: 'absolute',
width: '100%',
height: 2,
Expand All @@ -194,6 +195,7 @@ export const styles = theme => ({
},
/* Styles applied to the track element. */
track: {
display: 'block',
position: 'absolute',
height: 2,
borderRadius: 1,
Expand Down

0 comments on commit 7fe530f

Please sign in to comment.