Skip to content

Commit 51bd35c

Browse files
committed
fix: make all cards in grid same height
1 parent 40fe52d commit 51bd35c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web/src/components/CasesDisplay/CasesGrid.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const GridContainer = styled.div`
2020
--gap: 16px;
2121
display: grid;
2222
grid-template-columns: repeat(auto-fill, minmax(min(100%, max(312px, (100% - var(--gap) * 2)/3)), 1fr));
23-
align-items: center;
23+
align-items: stretch;
2424
gap: var(--gap);
2525
`;
2626

web/src/components/LatestCases.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const DisputeContainer = styled.div`
2424
--gap: 16px;
2525
display: grid;
2626
grid-template-columns: repeat(auto-fill, minmax(min(100%, max(312px, (100% - var(--gap) * 2)/3)), 1fr));
27-
align-items: center;
27+
align-items: stretch;
2828
gap: var(--gap);
2929
`;
3030

0 commit comments

Comments
 (0)