Skip to content

Commit c0828a8

Browse files
committed
feat: make marker radius configurable
1 parent b49a362 commit c0828a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Timeline.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
--marker-color: var(--timeline-line-color);
88
--marker-inner-size: 1rem;
99
--marker-inner-color: white;
10+
--marker-radius: 50%;
1011

1112
position: relative;
1213
}
@@ -49,7 +50,7 @@ div.timeline-item__marker {
4950
.timeline-item__marker::after,
5051
.timeline-item__marker::before {
5152
content: '';
52-
border-radius: 50%;
53+
border-radius: var(--marker-radius);
5354
position: absolute;
5455
}
5556

0 commit comments

Comments
 (0)