Skip to content

Commit d94bfbb

Browse files
authored
Merge pull request #206 from Anish-Sarawgi/fix/responsiveness
fix: premise section responsiveness
2 parents b3ea814 + 4b174af commit d94bfbb

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

  • src/components/Landing/LandingSection

src/components/Landing/LandingSection/styles.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ import styled from 'styled-components';
22

33
export const SectionOne = styled.section`
44
margin-top: 5rem;
5-
margin-bottom: 5em;
5+
margin-bottom: 4em;
66
text-align: center;
7-
display: grid;
8-
justify-content: center;
7+
display: grid;
8+
justify-items: center;
99
`;
1010

1111
export const CardContainer = styled.div`
12-
display: grid;
13-
grid-template-columns: repeat(3, minmax(0, 1fr));
14-
justify-content: start;
12+
display: flex;
13+
justify-content: center;
14+
flex-wrap: wrap;
1515
gap: 1rem;
1616
padding: 1rem;
1717
`;
@@ -23,6 +23,7 @@ export const Card = styled.div`
2323
border-style: none;
2424
text-align: center;
2525
align-items: center;
26+
width: 22em;
2627
`;
2728

2829
export const ImageHeader = styled.img`
@@ -45,7 +46,7 @@ export const SectionTwo = styled.section`
4546

4647
export const Div2 = styled.div`
4748
display: flex;
48-
padding: 0.5rem 0rem;
49+
flex-wrap: wrap;
4950
justify-content: center;
5051
align-items: center;
5152
gap: 4rem;

0 commit comments

Comments
 (0)