Skip to content

Commit 9771dff

Browse files
committed
fix(API-1977): Make Welcome block responsive
1 parent 1379114 commit 9771dff

File tree

4 files changed

+10
-18
lines changed

4 files changed

+10
-18
lines changed

components/block-welcome.css

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
}
1313

1414
.block-welcome img {
15-
position: absolute;
16-
width: 110px;
17-
right: 73px;
18-
top: 24px;
15+
margin-top: -31px;
16+
margin-right: 27px;
17+
margin-bottom: -11px;
1918
}
2019

2120
.block-welcome-row {
2221
display: flex;
2322
align-items: center;
23+
gap: 73px;
2424
}
2525

2626
.block-welcome-title {
@@ -45,7 +45,3 @@
4545

4646
color: #677688;
4747
}
48-
49-
.block-welcome-row .block-welcome-text {
50-
width: 68.5%;
51-
}

components/block-welcome.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
This pre-requisite section will follow you all along the tutorials
66
marked with the use case <b>"App workflow"</b>.
77
</div>
8-
<img src="../content/img/illustrations/illus--Attributegroup.svg" width="140px">
8+
<img src="../content/img/illustrations/illus--Attributegroup.svg" width="110px" class="hidden-xs">
99
</div>
1010
<div class="block-welcome-text">
1111
The workflow starts with this tutorial that will guide you through the creation of a draft App.

content/tutorials/guides/how-to-get-your-app-token.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Implement the required parts of the App activation process and receive an App ac
2828
This pre-requisite section will follow you all along the tutorials
2929
marked with the use case <b>"App workflow"</b>.
3030
</div>
31-
<img src="../../img/illustrations/illus--Attributegroup.svg" width="140px">
31+
<img src="../../img/illustrations/illus--Attributegroup.svg" width="110px" class="hidden-xs">
3232
</div>
3333
<div class="block-welcome-text">
3434
The workflow starts with this tutorial that will guide you through the creation of a draft App.

styles/guided-tutorial.less

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -505,15 +505,15 @@
505505
}
506506

507507
.block-welcome img {
508-
position: absolute;
509-
width: 110px;
510-
right: 73px;
511-
top: 24px;
508+
margin-top: -31px;
509+
margin-right: 27px;
510+
margin-bottom: -11px;
512511
}
513512

514513
.block-welcome-row {
515514
display: flex;
516515
align-items: center;
516+
gap: 73px;
517517
}
518518

519519
.block-welcome-title {
@@ -538,7 +538,3 @@
538538

539539
color: #677688;
540540
}
541-
542-
.block-welcome-row .block-welcome-text {
543-
width: 68.5%;
544-
}

0 commit comments

Comments
 (0)