Skip to content

Commit

Permalink
feat: point-list fix bullet position italia#1324
Browse files Browse the repository at this point in the history
  • Loading branch information
arturu committed Jan 23, 2025
1 parent beefd71 commit a3a57b5
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/scss/components/_point-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,12 @@
width: 9px;
height: 9px;

top: 2rem;
top: 2.4rem;
right: -5px;
transform: translateY(-5px);
border-radius: 50%;
background-color: $primary;
}
&:has(.point-year):not(:has(.point-month)),
&:has(.point-month):not(:has(.point-year)) {
&:after {
top: 2.4rem;
}
}
&:has(.point-year):has(.point-month) {
&:after {
top: 3.872rem;
Expand All @@ -43,6 +37,9 @@
.point-date {
font-size: 2.75rem;
line-height: 1.1;

// keep width in case of icon
min-width: 53px;
}

.point-month,
Expand Down

0 comments on commit a3a57b5

Please sign in to comment.