fix: Timeline top & bottom style

This commit is contained in:
Suraj Shetty 2020-12-09 11:07:49 +05:30
parent 68fcbc7684
commit d039655bde
2 changed files with 6 additions and 2 deletions

View file

@ -2,6 +2,10 @@
padding-top: 0;
}
.recent-activity .new-timeline:before {
top: 25px;
}
.recent-activity-title {
font-weight: 700;
font-size: var(--text-xl);

View file

@ -28,10 +28,10 @@ $threshold: 34;
&:before {
content: ' ';
top: 25px;
top: 40px; // TODO: get top and bottom programmatically
position: absolute;
border-left: 1px solid var(--dark-border-color);
bottom: calc(-1 * var(--timeline-item-bottom-margin));
bottom: calc(-1 * var(--timeline-item-bottom-margin) + 25px);
}
.timeline-dot {
@include timeline-badge(16px);