Skip to content

Commit a98365c

Browse files
Made the section Playground section responsive
Signed-off-by: NISHANT SINGH <[email protected]>
1 parent 4ae3e0d commit a98365c

File tree

1 file changed

+15
-1
lines changed
  • src/sections/Home/Playground-home

1 file changed

+15
-1
lines changed

src/sections/Home/Playground-home/index.js

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const ViewsSectionWrapper = styled.div`
5555
height: 500px;
5656
justify-content: space-evenly;
5757
align-items: center;
58-
padding: 0 5% 0 0;
58+
padding: 0 0 0 0;
5959
box-sizing: border-box;
6060
//box-shadow: ${(props) => props.theme.boxShadowBlue477E96};
6161
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
@@ -65,18 +65,32 @@ const ViewsSectionWrapper = styled.div`
6565
text-align: center;
6666
flex-direction: column-reverse;
6767
}
68+
69+
@media only screen and (max-width: 450px) {
70+
height: 600px;
71+
}
72+
73+
@media only screen and (max-width: 296px) {
74+
height: 800px;
75+
}
6876
}
6977
.hero-text {
7078
display: flex;
7179
flex-direction: column;
7280
flex: 0 0 50%;
7381
max-width: 50%;
7482
padding-bottom: 3rem;
83+
padding-left: 1rem;
7584
@media only screen and (max-width: 767px) {
7685
max-width: 100%;
7786
justify-content: center;
7887
text-align: center;
7988
}
89+
90+
@media only screen and (max-width: 450px) {
91+
margin-top: 200px;
92+
}
93+
8094
}
8195
8296
.hero-image {

0 commit comments

Comments
 (0)