File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11
11
--pointer-height : 2rem ;
12
12
--pointer-width : 1rem ;
13
13
--pointer-min-offset : 5rem ;
14
- --pointer-spacing : 1rem ;
15
14
--card-background : whitesmoke;
16
15
--card-radius : 0.1rem ;
17
16
--card-shadow : unset;
18
17
--card-padding : 1rem ;
18
+ --card-offset : 1rem ;
19
19
}
20
20
21
21
.timeline {
63
63
display : flex;
64
64
align-items : flex-start;
65
65
transition : top 0.1s ;
66
- gap : var (--pointer-spacing );
66
+ gap : var (--card-offset );
67
67
}
68
68
69
69
.timeline__items-container--left .timeline-item {
Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ export type StyleConfig = {
23
23
height ?: CSSProperties [ 'height' ] ;
24
24
width ?: CSSProperties [ 'width' ] ;
25
25
minOffset ?: CSSProperties [ 'marginTop' ] ;
26
- spacing ?: CSSProperties [ 'gap' ] ;
27
26
} ;
28
27
card ?: {
29
28
background ?: CSSProperties [ 'backgroundColor' ] ;
30
29
radius ?: CSSProperties [ 'borderRadius' ] ;
31
30
shadow ?: CSSProperties [ 'boxShadow' ] ;
32
31
padding ?: CSSProperties [ 'padding' ] ;
32
+ offset ?: CSSProperties [ 'gap' ] ;
33
33
} ;
34
34
} ;
35
35
You can’t perform that action at this time.
0 commit comments