Skip to content

Commit 0064680

Browse files
author
Vincenius
committed
fix for spikes border left
1 parent 95e598c commit 0064680

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

components/Generator/codeGenerators.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,14 @@ ${cssClass ? `.${cssClass}` : '&'}::after {
113113
content: '';
114114
position: absolute;
115115
right: 0;
116-
left: 0;
116+
left: -${left.value}%;
117117
top: 100%;
118118
z-index: 10;
119119
display: block;
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}% 0;
123+
background-position: 0 0;
124124
}`
125125

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

components/Generator/constants.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ export const SEPARATOR_OPTIONS = {
5858
value: 0,
5959
min: 0,
6060
max: 100,
61-
step: 5,
6261
},
6362
},
6463
[SEPARATORS.TRIANGLE]: {

0 commit comments

Comments
 (0)