Skip to content

Commit 0cb6b4c

Browse files
committed
Revert changes made inside src/sections/Developer-Infrastructure/features.js
Signed-off-by: DANIEL KATOTO <katotodan@gmail.com>
1 parent fc8ee56 commit 0cb6b4c

1 file changed

Lines changed: 33 additions & 6 deletions

File tree

src/sections/Developer-Infrastructure/features.js

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,25 @@ const FeatureWrapper = styled.div`
2929
}
3030
}
3131
}
32+
.catalog-container .catalog:nth-child(even) {
33+
.catalog-image {
34+
@media (max-width: 767px) {
35+
order: 0;
36+
}
37+
}
38+
.catalog-detail {
39+
@media (max-width: 767px) {
40+
order: 1;
41+
}
42+
}
43+
}
3244
.catalog {
3345
display: flex;
3446
padding: 2rem 0;
35-
@media (max-width: 767px) {
47+
@media (max-width: 768px) {
3648
padding: 2rem 0;
49+
}
50+
@media (max-width: 468px) {
3751
flex-direction: column;
3852
}
3953
.catalog-detail {
@@ -54,8 +68,14 @@ const FeatureWrapper = styled.div`
5468
font-size: 2rem;
5569
line-height: 2.5rem;
5670
text-align: center;
71+
padding-left: 100px;
72+
padding-right: 100px;
5773
margin-bottom: 1rem;
5874
}
75+
@media (max-width: 467px) {
76+
padding-left: 25px;
77+
padding-right: 25px;
78+
}
5979
}
6080
.caption {
6181
font-weight: 400;
@@ -68,6 +88,12 @@ const FeatureWrapper = styled.div`
6888
font-size: 1rem;
6989
line-height: 1.5rem;
7090
text-align: center;
91+
padding-left: 100px;
92+
padding-right: 100px;
93+
}
94+
@media (max-width: 467px) {
95+
padding-left: 25px;
96+
padding-right: 25px;
7197
}
7298
}
7399
}
@@ -81,15 +107,16 @@ const FeatureWrapper = styled.div`
81107
align-items: center;
82108
@media (max-width: 767px) {
83109
justify-content: center;
110+
}
111+
.kubernetes-image {
112+
@media (max-width: 767px) {
113+
max-width: 90%;
114+
margin-bottom: 2rem;
115+
}
84116
}
85117
}
86118
}
87119
}
88-
.catalog:nth-child(1){
89-
@media (max-width: 767px) {
90-
flex-direction: column-reverse;
91-
}
92-
}
93120
`;
94121

95122
const Feature = () => {

0 commit comments

Comments
 (0)