Skip to content

Commit 315391d

Browse files
committed
fix(Intro): modify breakpoint for mobile layout and add some adjustments
1 parent 235d09f commit 315391d

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

src/routes/Intro/styles.less

+17-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
}
253253
}
254254

255-
@media only screen and (max-width: @minimum) {
255+
@media only screen and (max-width: @xsmall) {
256256
.intro-container {
257257
justify-content: initial;
258258
padding: 3rem 1.5rem;
@@ -279,6 +279,22 @@
279279
.content-container {
280280
flex-direction: column-reverse;
281281

282+
.form-container, .options-container {
283+
width: 50%;
284+
margin: 0 auto;
285+
}
286+
287+
.options-container {
288+
margin-bottom: 4rem;
289+
}
290+
}
291+
}
292+
}
293+
294+
295+
@media only screen and (max-width: @minimum) {
296+
.intro-container {
297+
.content-container {
282298
.form-container, .options-container {
283299
width: 100%;
284300
margin: 0;

0 commit comments

Comments
 (0)