Skip to content

Commit da62f14

Browse files
author
Vincenius
committed
fix for spikes border
1 parent c1b4270 commit da62f14

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

components/Generator/Controls.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ const Controls = props => {
7575
aria-labelledby={`${key}-slider`}
7676
min={option.min}
7777
max={option.max}
78+
step={option.step}
7879
/>
7980
</S.SliderContainer>
8081
)}

components/Generator/codeGenerators.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ ${cssClass ? `.${cssClass}` : '&'}::after {
120120
height: ${size.value}px;
121121
background-size: ${size.value}px 100%;
122122
background-image: linear-gradient(135deg, ${darkGrey} 25%, transparent 25%), linear-gradient(225deg, ${darkGrey} 25%, transparent 25%);
123-
background-position: ${left.value}%;
123+
background-position: ${left.value}% 0;
124124
}`
125125

126126
export const generateTriangleCss = ({ reversed, size, left, cssClass }) =>

components/Generator/constants.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export const SEPARATOR_OPTIONS = {
5252
value: 50,
5353
min: 10,
5454
max: 400,
55+
step: 5,
5556
},
5657
left: {
5758
value: 0,

0 commit comments

Comments
 (0)