Skip to content
Snippets Groups Projects
Commit f3598669 authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Make slider monitor full width

parent 00c8b6f9
Branches
Tags
No related merge requests found
......@@ -60,6 +60,10 @@
flex-direction: row;
}
.slider {
width: 100%;
}
.list-monitor {
display: flex;
flex-direction: column;
......
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import styles from './monitor.css';
const SliderMonitor = ({categoryColor, label, min, max, value, onSliderUpdate}) => (
......@@ -17,7 +19,7 @@ const SliderMonitor = ({categoryColor, label, min, max, value, onSliderUpdate})
</div>
<div className={styles.row}>
<input
className="no-drag" // Class used on parent Draggable to prevent drags
className={classNames(styles.slider, 'no-drag')} // Class used on parent Draggable to prevent drags
max={max}
min={min}
type="range"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment