Skip to content

Commit

Permalink
Fix stepped list content/item padding (#5099)
Browse files Browse the repository at this point in the history
* Fix stepped list content/item padding
* use spv-nudge for lists top padding instead of sp-unit
  • Loading branch information
jmuzina committed Jun 4, 2024
1 parent 44a26d9 commit cddb31b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scss/_patterns_lists.scss
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,9 @@ $list-step-bullet-margin: $sph--x-large;

.p-stepped-list__title + .p-stepped-list__content {
margin-left: $bullet-width-mobile + $list-step-bullet-margin;
@media (min-width: $threshold-6-12-col) {
padding-top: $spv-nudge;
}

@media (min-width: $breakpoint-heading-threshold) {
margin-left: $bullet-width + $list-step-bullet-margin;
Expand Down Expand Up @@ -392,7 +395,6 @@ $list-step-bullet-margin: $sph--x-large;
@include vf-b-row-reset;

@media (min-width: $threshold-6-12-col) {
padding-top: $sp-unit;
position: relative;

&::after {
Expand Down

0 comments on commit cddb31b

Please sign in to comment.