Skip to content

Commit e8bb067

Browse files
committed
Updates
1 parent 514415a commit e8bb067

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/components/Timeline/Timeline.module.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ $circle-margin-small: 8px;
2424
}
2525
}
2626

27-
.timeline-single > li::after {
28-
content: none;
29-
display: none;
30-
}
31-
3227
.timeline > li {
3328
position: relative;
3429
display: flex;
@@ -114,6 +109,11 @@ $circle-margin-small: 8px;
114109
}
115110
}
116111

112+
.timeline.single > li::after {
113+
content: none;
114+
display: none;
115+
}
116+
117117
.timeline > li > span {
118118
font-size: 16px;
119119
line-height: 16px;

src/components/Timeline/Timeline.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const Timeline = ({ items }: Props) => {
1111

1212
const classes = [styles.timeline];
1313
if (items.length === 1) {
14-
classes.push(styles["timeline-single"]);
14+
classes.push(styles.single);
1515
}
1616

1717
const sortedItems = items.toSorted((a, b) => a.localeCompare(b));

0 commit comments

Comments
 (0)