Skip to content

Commit

Permalink
update scss to fix step counter bug (#1434)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanclairmonte authored Nov 22, 2024
1 parent 3e46be7 commit 6867d3c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions static/sass/_pattern_application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
}

.p-stepped-list__item {
counter-increment: list-item;

p.p-stepped-list__content,
div.p-stepped-list__content {
margin-left: 0 !important;
Expand All @@ -35,6 +37,18 @@
}
}

.p-stepped-list {
counter-reset: inner-list;

.p-stepped-list__item {
counter-increment: inner-list;
}

.p-stepped-list__title::before {
content: counter(inner-list) ".";
}
}

@supports (display: grid) {
.p-stepped-list__title {
grid-column-end: span 12;
Expand Down

0 comments on commit 6867d3c

Please sign in to comment.