Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Commit acacf3a

Browse files
committed
Modify CSS for slider area
1 parent b5b5d49 commit acacf3a

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

src/view/components/toolbar/GenericSliderComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface IProps {
1313
}
1414
export const GenericSliderComponent: React.FC<IProps> = props => {
1515
return (
16-
<div className="GenericSliderComponent">
16+
<div className="generic-slider-component">
1717
{props.axisProperties.sliderProps.map(
1818
(sliderProperties: ISliderProps, index: number) => {
1919
return (

src/view/components/toolbar/InputSlider.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class InputSlider extends React.Component<ISliderProps, any, any> {
2222
render() {
2323
const isInputDisabled = this.context === VIEW_STATE.PAUSE;
2424
return (
25-
<div className="inputSlider">
25+
<div className="input-slider">
2626
<span>{this.props.axisLabel}</span>
2727
<input
2828
type="text"
@@ -32,7 +32,7 @@ class InputSlider extends React.Component<ISliderProps, any, any> {
3232
defaultValue={this.props.minValue.toLocaleString()}
3333
pattern={`^-?[0-9]{0,${
3434
this.props.maxValue.toString().length
35-
}}$`}
35+
}}$`}
3636
onKeyUp={this.handleOnChange}
3737
aria-label={`${this.props.type} sensor input ${this.props.axisLabel}`}
3838
/>

src/view/styles/ToolBar.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,16 @@
167167
-webkit-appearance: none;
168168
text-decoration: none;
169169
}
170+
170171
.gesture-container {
171172
display: "flex";
172173
justify-content: "space-between";
173174
flex-direction: "column";
174175
align-items: "center";
175176
height: 750;
177+
padding-top:10px;
176178
}
179+
180+
.generic-slider-component{
181+
padding-top:10px;
182+
}

0 commit comments

Comments
 (0)