Skip to content

Commit c283381

Browse files
committed
feat(web): better community section in mobile aligned to the left
1 parent 97346b5 commit c283381

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

web/src/pages/Home/Community/Element.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ const Container = styled.div`
66
gap: 8px;
77
align-items: center;
88
flex-wrap: wrap;
9-
justify-content: center;
109
1110
svg {
1211
width: 16px;

web/src/pages/Home/Community/index.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,14 @@ const Container = styled.div`
1414
`;
1515

1616
const StyledCard = styled(Card)`
17+
display: flex;
1718
width: 100%;
1819
height: auto;
1920
gap: 12px;
2021
flex-direction: column;
2122
flex-wrap: wrap;
22-
padding: 12px;
23-
display: flex;
24-
align-items: center;
25-
justify-content: center;
23+
padding: 24px;
24+
align-items: flex-start;
2625
2726
${landscapeStyle(
2827
() => css`
@@ -37,8 +36,7 @@ const StyledCard = styled(Card)`
3736
const ThreeElementContainer = styled.div`
3837
display: flex;
3938
flex-direction: column;
40-
justify-content: center;
41-
align-items: center;
39+
align-items: flex-start;
4240
gap: 12px;
4341
4442
${landscapeStyle(

0 commit comments

Comments
 (0)