fix: Timeline left padding

This commit is contained in:
Suraj Shetty 2020-08-07 11:42:58 +05:30
parent da1f1e1432
commit c970c8b954

View file

@ -3,7 +3,7 @@ $timeline-item-left-margin: var(--margin-xl);
$threshold: 50px;
.new-timeline {
position: relative;
padding-left: var(--padding-2xl);
padding-left: calc(var(--padding-xl) + #{$timeline-item-icon-size}/2);
padding-top: var(--padding-xl);
&:before {
content: ' ';