Skip to content

Commit 7029e3b

Browse files
committed
fix(API-1978): Make regular Next Step block responsive
1 parent c36596c commit 7029e3b

File tree

6 files changed

+13
-4
lines changed

6 files changed

+13
-4
lines changed

components/components.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@ button {
121121
line-height: 41px;
122122
margin-bottom: 20px;
123123
}
124+
@media (max-width: 767px) {
125+
.block-next-steps-title {
126+
text-align: center;
127+
}
128+
}
124129
.block-next-steps.block-next-steps-main .block-next-steps-text {
125130
margin-bottom: 30px;
126131
font-weight: 400;

components/components.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<hr>
7777

7878
<div class="block-next-steps block-next-steps-alt">
79-
<img src="../content/img/illustrations/illus--Attribute.svg" width="140px">
79+
<img src="../content/img/illustrations/illus--Attribute.svg" width="140px" class="hidden-xs">
8080
<div class="block-next-steps-column">
8181
<div class="block-next-steps-title">Next Step</div>
8282
<div class="block-next-steps-text">Now that you collected your categories, we advise you to follow</div>

content/tutorials/guides/how-to-get-families-and-attributes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ attribute_code_list may be significant, very big! If you get an <a href="https:/
226226
:::
227227

228228
<div class="block-next-steps block-next-steps-alt">
229-
<img src="/img/illustrations/illus--Attribute.svg" width="140px">
229+
<img src="/img/illustrations/illus--Attribute.svg" width="140px" class="hidden-xs">
230230
<div class="block-next-steps-column">
231231
<div class="block-next-steps-title">Next Step</div>
232232
<div class="block-next-steps-text">Well done! Keep digging into the “App workflow” and follow the next tutorial!</div>

content/tutorials/guides/how-to-get-pim-product-information.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ Keep in mind that synchronizing media files might be time and resource-consuming
543543
:::
544544

545545
<div class="block-next-steps block-next-steps-alt">
546-
<img src="/img/illustrations/illus--Attribute.svg" width="140px">
546+
<img src="/img/illustrations/illus--Attribute.svg" width="140px" class="hidden-xs">
547547
<div class="block-next-steps-column">
548548
<div class="block-next-steps-title">Next Step</div>
549549
<div class="block-next-steps-text">Well done! Keep digging into the “App workflow” and follow the next tutorial!</div>

content/tutorials/guides/how-to-retrieve-pim-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ storeCategoryTree(channel.category_tree);
203203
```
204204

205205
<div class="block-next-steps block-next-steps-alt">
206-
<img src="/img/illustrations/illus--Attribute.svg" width="140px">
206+
<img src="/img/illustrations/illus--Attribute.svg" width="140px" class="hidden-xs">
207207
<div class="block-next-steps-column">
208208
<div class="block-next-steps-title">Next Step</div>
209209
<div class="block-next-steps-text">Well done! Keep digging into the “App workflow” and follow the next tutorial!</div>

styles/guided-tutorial.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@
9292
font-size: 34px;
9393
line-height: 41px;
9494
margin-bottom: 20px;
95+
96+
@media (max-width: @screen-xs-max) {
97+
text-align: center;
98+
}
9599
}
96100
.block-next-steps.block-next-steps-main .block-next-steps-text {
97101
margin-bottom: 30px;

0 commit comments

Comments
 (0)