Skip to content

Commit 02bf0cf

Browse files
authored
Merge pull request #846 from Stremio/fix/intro-responsive-layout
Intro: Improve layout responsiveness on smaller screens
2 parents 0572ee3 + 9d17c82 commit 02bf0cf

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

src/routes/Intro/styles.less

+16-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,21 @@
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+
@media only screen and (max-width: @minimum) {
295+
.intro-container {
296+
.content-container {
282297
.form-container, .options-container {
283298
width: 100%;
284299
margin: 0;

0 commit comments

Comments
 (0)