Skip to content

Commit bc02985

Browse files
committed
fix: responsiveness in macbook air m1 13dot3 inches, cases grid, extrastats
1 parent 4f07d1c commit bc02985

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

web/src/components/CasesDisplay/CasesGrid.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ import DisputeView from "components/DisputeView";
1717
import { SkeletonDisputeCard, SkeletonDisputeListItem } from "../StyledSkeleton";
1818

1919
const GridContainer = styled.div`
20-
--gap: 24px;
20+
--gap: 16px;
2121
display: grid;
22-
grid-template-columns: repeat(auto-fill, minmax(min(100%, max(350px, (100% - var(--gap) * 2)/3)), 1fr));
22+
grid-template-columns: repeat(auto-fill, minmax(min(100%, max(312px, (100% - var(--gap) * 2)/3)), 1fr));
2323
align-items: center;
2424
gap: var(--gap);
2525
`;

web/src/components/LatestCases.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ const Title = styled.h1`
2121
`;
2222

2323
const DisputeContainer = styled.div`
24-
--gap: 24px;
24+
--gap: 16px;
2525
display: grid;
26-
grid-template-columns: repeat(auto-fill, minmax(min(100%, max(350px, (100% - var(--gap) * 2)/3)), 1fr));
26+
grid-template-columns: repeat(auto-fill, minmax(min(100%, max(312px, (100% - var(--gap) * 2)/3)), 1fr));
2727
align-items: center;
2828
gap: var(--gap);
2929
`;

web/src/pages/Home/CourtOverview/ExtraStats.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import ExtraStatsDisplay from "components/ExtraStatsDisplay";
1313
const StyledCard = styled.div`
1414
display: flex;
1515
flex-wrap: wrap;
16-
gap: 0 32px;
16+
gap: 0 24px;
1717
justify-content: center;
1818
`;
1919

0 commit comments

Comments
 (0)