Skip to content

Commit e6f9f80

Browse files
committed
fix(interactive-step): mobile styling: line strikethrough; body padding
1 parent 26e9d02 commit e6f9f80

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

packages/micro-journeys/src/interactive-step.scss

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,10 @@ bolt-interactive-step {
1919
&:not(:last-child) {
2020
margin-bottom: 0;
2121
}
22-
23-
// @todo why was this here? since `bolt-animation-wrapper` became `bolt-animate` these styles haven't been applying for awhile, but might of been fixing something that is broken again
24-
//&:last-of-type {
25-
// bolt-animation-wrapper {
26-
// position: relative;
27-
// left: -$bolt-interactive-step-left-padding + $bolt-interactive-step-line-left-pos;
28-
// }
29-
//}
3022
}
3123

3224
.c-bolt-interactive-step {
25+
position: relative;
3326
//Styles go here. /* [1] */
3427
text-align: left;
3528
transition: font-size 0.5s ease;
@@ -41,9 +34,12 @@ bolt-interactive-step {
4134
&__nav-item-wrapper {
4235
display: flex;
4336
align-items: center;
44-
position: relative;
45-
top: 0;
4637
padding-bottom: $bolt-interactive-step-bottom-padding;
38+
39+
@include bolt-mq(medium) {
40+
position: relative;
41+
top: 0;
42+
}
4743
}
4844

4945
&__line {
@@ -98,6 +94,11 @@ bolt-interactive-step {
9894
.c-bolt-interactive-step--active & {
9995
height: auto;
10096
overflow: visible;
97+
padding-left: $bolt-interactive-step-left-padding;
98+
99+
@include bolt-mq(medium) {
100+
margin-left: 0;
101+
}
101102
}
102103

103104
// Move the step body to the right on desktop
@@ -114,6 +115,7 @@ bolt-interactive-step {
114115
flex-direction: column;
115116
justify-content: center;
116117
align-items: center;
118+
max-width: 100%;
117119
@include bolt-mq(medium) {
118120
max-width: 700px;
119121
}

0 commit comments

Comments
 (0)