Skip to content

Commit 3f022c1

Browse files
authored
Merge pull request #181 from HackMerced/fix/Sponsers&ContactUs-page_format
Fixed Sponsers&ContactUs page format
2 parents 5d96357 + b23b562 commit 3f022c1

3 files changed

Lines changed: 23 additions & 8 deletions

File tree

src/components/Form/styles.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@
88
border-radius: 2rem;
99
margin: 2% 7% 0 7%;
1010

11+
//form box is adjusted depending on its width
12+
@media (max-width: 1000px) {
13+
width: 75%;
14+
}
15+
@media (max-width: 750px) {
16+
width: 70%;
17+
}
18+
@media (max-width: 450px) {
19+
width: 61%;
20+
}
21+
1122
@media only screen and (max-width: 900px), only screen and (max-height: 640px) {
1223
margin-bottom: 2rem;
1324
}

src/pages/ContactUs/styles.scss

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
margin: 0 auto;
99
}
1010

11-
@media (max-width: 500px) {
12-
width: 90%;
13-
}
14-
1511
&__content {
1612
&__header {
1713
font-size: 1.875rem;
@@ -52,6 +48,17 @@
5248
margin: 10px;
5349
}
5450
}
51+
52+
@media only screen and (max-width: 1024px), only screen and (max-height: 1366px) {
53+
//sized to an ipad pro
54+
padding-top: 2rem;
55+
56+
padding-bottom : 12rem;
57+
58+
&__header {
59+
margin-bottom: 2rem;
60+
}
61+
}
5562

5663
@media only screen and (max-width: 900px), only screen and (max-height: 640px) {
5764
margin: 0;

src/pages/SponsorUs/styles.scss

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
@media only screen and (max-width: 900px), only screen and (max-height: 640px) {
88
margin: 0 auto;
99
}
10-
@media (max-width: 500px) {
11-
width: 90%;
12-
}
13-
10+
1411
&__content {
1512
&__heading {
1613
font-size: 1.875rem;

0 commit comments

Comments
 (0)