Skip to content

Commit 858d8d6

Browse files
Rahul KumarRahul Kumar
authored andcommitted
fix(frontend):responsiveness and fonts for smaller screens
1 parent 9b5456e commit 858d8d6

File tree

4 files changed

+27
-6
lines changed

4 files changed

+27
-6
lines changed

frontend/src/components/Mission_vision/style.module.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@
5959
}
6060

6161
@media only screen and (max-width: 1180px) {
62+
.content{
63+
padding-left: 0;
64+
}
6265
.container {
6366
grid-template-columns: 100% 00%;
6467
justify-content: center;
@@ -68,11 +71,12 @@
6871
display: none;
6972
}
7073
.heading,
71-
.heading2,
72-
.para {
74+
.heading2{
7375
text-align: center;
76+
font-size: 3rem;
7477
}
7578
.para {
79+
text-align: center;
7680
margin: 1vh auto;
7781
width: 90%;
7882
}

frontend/src/components/WhyUs/style.module.css

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,21 +60,33 @@
6060
}
6161

6262
@media only screen and (max-width: 1180px) {
63+
.content{
64+
padding-left: 0;
65+
}
6366
.container {
6467
grid-template-columns: 100% 00%;
6568
justify-content: center;
69+
padding-left: 0;
6670
align-items: flex-start;
6771
}
6872
.vectors {
6973
display: none;
7074
}
7175
.heading,
72-
.heading2,
73-
.para {
76+
.heading2 {
77+
font-size: 3rem;
7478
text-align: center;
7579
}
7680
.para {
81+
text-align: center;
7782
margin: 1vh auto;
7883
width: 90%;
7984
}
8085
}
86+
87+
@media only screen and (max-width: 370px) {
88+
.container {
89+
padding-top: 20vh;
90+
}
91+
}
92+

frontend/src/components/aboutUs/style.module.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,12 @@
8080
display: none;
8181
}
8282
.heading,
83-
.heading2,
84-
.para {
83+
.heading2{
84+
font-size: 3rem;
8585
text-align: center;
8686
}
8787
.para {
88+
text-align: center;
8889
margin: 1vh auto;
8990
width: 80%;
9091
}

frontend/src/pages/homePage/style.module.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
}
5555
.container {
5656
justify-content: center;
57+
padding-left: 0;
5758
align-items: center;
5859
}
5960
.heading {
@@ -78,6 +79,9 @@
7879
}
7980

8081
@media only screen and (max-width: 650px) {
82+
.container{
83+
padding-left: 0;
84+
}
8185
.heading {
8286
font-size: 2rem;
8387
text-align: center;

0 commit comments

Comments
 (0)