Skip to content

Commit dbebae3

Browse files
authored
feat(API-1976): Correct GT tags UI for mobile device
1 parent 523ed80 commit dbebae3

File tree

3 files changed

+116
-5
lines changed

3 files changed

+116
-5
lines changed

src/partials/guided-tutorials-homepage.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<div class="tile-list">
2727
{{#each tutorials}}
2828
<a href="{{link}}" class="tile-title">
29-
<div class="tile mrb-30">
29+
<div class="tile margin-tile">
3030
{{title}}
3131
<div class="tile-tag">
3232
{{#use_cases}}

styles/apps-homepage.less

Lines changed: 49 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@
118118
font-size: 20px;
119119
line-height: 24px;
120120
margin: 44px 0 38px 0;
121+
color: #414D97;
121122
p {
122123
margin: 0;
123124
}
@@ -135,7 +136,7 @@
135136
}
136137

137138
.arrow-back img {
138-
margin-top: 42px;
139+
margin-top: 18px;
139140
margin-left: 10px;
140141
margin-right: 10px;
141142
align-items: center;
@@ -154,10 +155,56 @@
154155

155156
.block-create-app-github {
156157
width: 36px;
157-
margin-left: 17px;
158+
margin-left: 31px;
159+
margin-right: 13px;
158160
}
159161

160162
.block-create-app-title {
161163
margin-left: 17px;
162164
}
165+
166+
.block-about-app-title {
167+
font-size: 18px;
168+
}
169+
170+
.block-about-app {
171+
margin-top: 20px;
172+
padding: 25px 20px;
173+
}
174+
175+
.block-about-app-text {
176+
font-weight: 400;
177+
font-size: 14px;
178+
line-height: 17px;
179+
margin-top : 28px;
180+
181+
}
182+
183+
.block-about-app-row .block-about-app-text {
184+
width: 100%;
185+
}
186+
187+
.block-create-app-title {
188+
font-weight: 700;
189+
font-size: 20px;
190+
line-height: 24px;
191+
text-align: center;
192+
}
193+
194+
.block-create-app-text {
195+
font-weight: 600;
196+
font-size: 16px;
197+
line-height: 19px;
198+
display: flex;
199+
align-items: center;
200+
margin: 28px 0 30px 0;
201+
p {
202+
line-height: 1.2;
203+
margin-right: 31px;
204+
}
205+
}
206+
207+
.block-create-app-row .next-steps-button {
208+
margin-top: 16px;
209+
}
163210
}

styles/guided-tutorial.less

Lines changed: 66 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,12 +445,11 @@
445445
.tile-list {
446446
display: flex;
447447
flex-direction: row;
448-
flex-wrap: wrap;
449448
margin-top: 21px;
450449
width: 770px;
451450
}
452451

453-
.mrb-30 {
452+
.margin-tile {
454453
margin-right: 30px;
455454
margin-bottom: 30px;
456455
}
@@ -542,3 +541,68 @@
542541

543542
color: #677688;
544543
}
544+
.block-welcome-row .block-welcome-text {
545+
width: 68.5%;
546+
}
547+
548+
@media only screen and (max-width: 820px) {
549+
.container {
550+
padding-right: 42px;
551+
padding-left: 18px;
552+
margin-right: auto;
553+
margin-left: auto;
554+
}
555+
556+
.tutorial-title {
557+
font-style: normal;
558+
font-weight: 700;
559+
font-size: 30px;
560+
line-height: 36px;
561+
562+
text-align: center;
563+
}
564+
565+
.guided-tutorials h1 {
566+
margin-top: 20px;
567+
}
568+
569+
.next-steps-button {
570+
width: 135px;
571+
height: 54px;
572+
gap: 8px;
573+
border-radius: 80px;
574+
.next-steps-button-text{
575+
font-weight: 700;
576+
font-size: 14px;
577+
line-height: 17px;
578+
}
579+
.next-steps-button-number {
580+
font-weight: 700;
581+
font-size: 37px;
582+
line-height: 44px;
583+
}
584+
}
585+
586+
.feature-list {
587+
flex-wrap: wrap;
588+
margin-bottom: 0;
589+
margin-top: 10px;
590+
}
591+
592+
.filtered-result {
593+
margin-top: 30px;
594+
}
595+
596+
.tag-selectable {
597+
margin-bottom: 16px;
598+
}
599+
600+
.tile-list {
601+
flex-wrap: wrap;
602+
width: 100%;
603+
}
604+
605+
.margin-tile {
606+
margin-right: 0;
607+
}
608+
}

0 commit comments

Comments
 (0)