Skip to content

Commit 4dbd7ea

Browse files
Merge pull request #5976 from sudhanshutech/fix/issue2
add more missing props and alignment issues
2 parents 0f44e1c + 1a1d388 commit 4dbd7ea

9 files changed

Lines changed: 26 additions & 7 deletions

File tree

src/components/Call-To-Actions/CTA_Bottom/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const CTA_Bottom = ({ alt, button_text, category, content, external_link, image,
8686
<p>{content ? content : defaultContent}</p>
8787
</>
8888
)}
89-
<Button $primary title={category ? Categories[category]["Button_Text"] : (button_text ? button_text : "Join Us")} url={category ? Categories[category]["Link"] : (url ? url : defaultURL)} external={category ? Categories[category]["Link_external"] : (external_link ? true : false)} />
89+
<Button $primary title={category ? Categories[category]["Button_Text"] : (button_text ? button_text : "Join Us")} $url={category ? Categories[category]["Link"] : (url ? url : defaultURL)} external={category ? Categories[category]["Link_external"] : (external_link ? true : false)} />
9090
</div>
9191

9292
</CTA_BottomWrapper>

src/components/FeatureUseCard/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Col } from "../../reusecore/Layout";
44

55
const FeatureUseCard = (props) => {
66
return (
7-
<Col sm={props.sm} md={props.md} lg={props.lg} className={"display-container"}>
7+
<Col $sm={props.sm} $md={props.md} $lg={props.lg} className={"display-container"}>
88
<FeatureUseCardWrapper >
99
<div className={"image-container"}>
1010
<img src={props.data.image} alt={""}/>

src/sections/ArchitectureDiagram/whiteboard.style.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ const WhiteboardWrapper = styled.div`
1313
.collaboration_display {
1414
display: flex;
1515
flex-direction: row;
16-
flex-wrap: wrap;
1716
width: 100%;
1817
margin: 0 10px;
1918
align-items: flex-start;
2019
justify-content: center;
20+
@media (max-width: 600px){
21+
flex-direction: column;
22+
}
2123
}
2224
2325

src/sections/CloudNativeDeployments/deploy.style.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ const CloudDeploy = styled.div`
1616
margin: 0 10px;
1717
align-items: flex-start;
1818
justify-content: center;
19+
@media (max-width: 600px){
20+
flex-direction: column;
21+
}
1922
}
2023
2124

src/sections/Comments/comments.style.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ const CommentsWrapper = styled.div`
1414
.collaboration_display {
1515
display: flex;
1616
flex-direction: row;
17-
flex-wrap: wrap;
1817
width: 100%;
1918
margin: 0 10px;
2019
align-items: flex-start;
2120
justify-content: center;
21+
@media (max-width: 600px){
22+
flex-direction: column;
23+
}
2224
}
2325
2426

src/sections/Company/Contact/index.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ const ContactPage = () => {
2222
title={"Get In Touch"}
2323
subtitle={"Let us know how we can help you."}
2424
/>
25-
<Row className="cards-container">
25+
<Row style={{
26+
flexWrap: "wrap"
27+
}} className="cards-container">
2628
<CardOutline
2729
link="/careers"
2830
img={Jobs_Icon}
@@ -45,7 +47,9 @@ const ContactPage = () => {
4547
content="I would like to establish a partnership with Layer5"
4648
/>
4749
</Row>
48-
<Row className="contact-form-row">
50+
<Row style={{
51+
flexWrap: "wrap"
52+
}} className="contact-form-row">
4953
<Row
5054
onClick={function () {
5155
toggleForm();

src/sections/Developer-Infrastructure/deploy.style.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ const CloudDeploy = styled.div`
1616
margin: 0 10px;
1717
align-items: flex-start;
1818
justify-content: center;
19+
@media (max-width: 600px){
20+
flex-direction: column;
21+
}
1922
}
2023
2124

src/sections/OrchestrationManagement/orchestration.style.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ const OrchestrationWrapper = styled.div`
1313
.collaboration_display {
1414
display: flex;
1515
flex-direction: row;
16-
flex-wrap: wrap;
1716
width: 100%;
1817
margin: 0 10px;
1918
align-items: flex-start;
2019
justify-content: center;
20+
@media (max-width: 600px){
21+
flex-direction: column;
22+
}
2123
}
2224
2325

src/sections/kubernetes-multi-cluster/kube.style.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ const CommentsWrapper = styled.div`
1818
margin: 0 10px;
1919
align-items: flex-start;
2020
justify-content: center;
21+
@media (max-width: 600px){
22+
flex-direction: column;
23+
}
2124
}
2225
2326

0 commit comments

Comments
 (0)