We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9fa6e9 commit 8abdff8Copy full SHA for 8abdff8
src/Slider/Slider.js
@@ -221,7 +221,7 @@ const Mark = styled.div`
221
position: absolute;
222
bottom: 0;
223
left: 0;
224
-
+ line-height: 1;
225
font-size: 0.875rem;
226
227
${({ vertical }) =>
src/Slider/Slider.stories.js
@@ -90,9 +90,14 @@ export const Default = () => (
90
size='300px'
91
min={0}
92
max={6}
93
- step={1.5}
+ step={1}
94
defaultValue={0}
95
- marks
+ marks={[
96
+ { value: 0, label: '0°C' },
97
+ { value: 2, label: '2°C' },
98
+ { value: 4, label: '4°C' },
99
+ { value: 6, label: '6°C' }
100
+ ]}
101
orientation='vertical'
102
/>
103
</div>
0 commit comments