Skip to content

Commit 1982141

Browse files
committedMar 16, 2024·
style: improve css for small media
1 parent 0f1d1a4 commit 1982141

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed
 

‎app/src/styles/PartnersList.module.scss

+10
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,21 @@
1010
margin: auto;
1111
display: flex;
1212
flex-direction: row;
13+
14+
@media (max-width: 800px) {
15+
flex-direction: column;
16+
}
1317
}
1418

1519
.logo {
1620
height: 6em;
1721
width: 20em;
1822
margin: 2em;
23+
24+
@media (max-width: 800px) {
25+
height: 3em;
26+
width: 10em;
27+
margin: 1em;
28+
}
1929
}
2030
}

‎app/src/styles/globals.scss

+12-2
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,15 @@ a {
4545

4646
.divLogo {
4747
width: 100%;
48-
height: 90vh;
48+
height: 80vh;
4949

5050
display: grid;
5151
grid-template-columns: 1fr 1fr;
5252

53+
@media (max-width: 1200px) {
54+
height: 50vh;
55+
}
56+
5357
@media (max-width: 800px) {
5458
grid-template-columns: 1fr;
5559
height: fit-content;
@@ -63,9 +67,15 @@ a {
6367
margin-top: 40%;
6468
width: 100%;
6569

66-
@media (max-width: 800px) {
70+
@media (max-width: 1200px) {
6771
width: 75%;
6872
margin: auto;
73+
margin-top: 30%;
74+
}
75+
76+
@media (max-width: 800px) {
77+
width: 50%;
78+
margin: auto;
6979
margin-top: 15%;
7080
}
7181
}

0 commit comments

Comments
 (0)
Please sign in to comment.