Make slider independant of label size

This commit is contained in:
Jorik Schellekens 2020-04-22 11:36:23 +01:00
parent 26ccd6f07d
commit 5f50facfba
2 changed files with 17 additions and 3 deletions

View file

@ -87,9 +87,11 @@ class Dot extends React.Component<DotIProps> {
return <span onClick={this.props.onClick} className="mx_Slider_dotValue">
<div className={className} />
<div>
<div className="mx_Slider_labelContainer">
<div className="mx_Slider_label">
{this.props.label}
</div>
</div>
</span>;
}
}