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 1111 --pointer-height : 2rem ;
1212 --pointer-width : 1rem ;
1313 --pointer-min-offset : 5rem ;
14- --pointer-spacing : 1rem ;
1514 --card-background : whitesmoke;
1615 --card-radius : 0.1rem ;
1716 --card-shadow : unset;
1817 --card-padding : 1rem ;
18+ --card-offset : 1rem ;
1919}
2020
2121.timeline {
6363 display : flex;
6464 align-items : flex-start;
6565 transition : top 0.1s ;
66- gap : var (--pointer-spacing );
66+ gap : var (--card-offset );
6767}
6868
6969.timeline__items-container--left .timeline-item {
Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ export type StyleConfig = {
2323 height ?: CSSProperties [ 'height' ] ;
2424 width ?: CSSProperties [ 'width' ] ;
2525 minOffset ?: CSSProperties [ 'marginTop' ] ;
26- spacing ?: CSSProperties [ 'gap' ] ;
2726 } ;
2827 card ?: {
2928 background ?: CSSProperties [ 'backgroundColor' ] ;
3029 radius ?: CSSProperties [ 'borderRadius' ] ;
3130 shadow ?: CSSProperties [ 'boxShadow' ] ;
3231 padding ?: CSSProperties [ 'padding' ] ;
32+ offset ?: CSSProperties [ 'gap' ] ;
3333 } ;
3434} ;
3535
You can’t perform that action at this time.
0 commit comments