Skip to content

Commit 7bc8fec

Browse files
authored
Merge pull request #158 from SupahNickie/responsiveness-tweaks
Responsiveness tweaks
2 parents 3c6a5b9 + 80090e2 commit 7bc8fec

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

src/components/popup/intro/intro.less

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,29 @@
11
.flexColumn {
2-
flex-direction: column;
2+
@media (max-width: 480px) {
3+
flex-direction: row;
4+
}
5+
@media (min-width: 481px) {
6+
flex-direction: column;
7+
}
38
}
49

10+
511
div.intro {
612
align-items: center;
713
padding: 0 4em;
814
max-height: 100%;
915

1016
.top {
11-
max-height: 425px;
1217
margin-bottom: 75px;
1318
overflow: auto;
1419

20+
@media (max-width: 480px) {
21+
max-height: calc(100vh - 75px);
22+
}
23+
@media (min-width: 481px) {
24+
max-height: 425px;
25+
}
26+
1527
.logo {
1628
display: block;
1729
margin: 20px auto 10px auto;
@@ -27,6 +39,7 @@ div.intro {
2739
.description {
2840
margin: 2em 0;
2941
overflow: auto;
42+
max-height: 150px;
3043
text-align: center;
3144
}
3245
.options {

0 commit comments

Comments
 (0)