Skip to content

Commit 4bab619

Browse files
committed
only targetting lists inside vertical steppers for bottom padding
1 parent ef625db commit 4bab619

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/components/Stepper/Stepper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const VStepper = ({
124124
return (
125125
<OriginalVerticalStepper
126126
type={type}
127-
className={className}
127+
className={`vertical-stepper ${className || ''}`}
128128
{...domProps}
129129
>
130130
{enhancedChildren}

src/css/custom.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1427,9 +1427,13 @@ input::-ms-input-placeholder { /* Microsoft Edge */
14271427
.custom-ul,
14281428
.custom-ol {
14291429
padding-inline-start: 2rem;
1430-
padding-block-end: 1.5rem;
14311430
}
14321431

14331432
.custom-li {
14341433
padding-inline-start: 1rem;
1434+
}
1435+
1436+
.vertical-stepper .custom-ul
1437+
.vertical-stepper .custom-ol {
1438+
padding-block-end: 1.5rem;
14351439
}

0 commit comments

Comments
 (0)