Skip to content

Commit 53b4b1b

Browse files
committed
fix(web): fix-list-view-style
1 parent 736fe21 commit 53b4b1b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

web/src/components/DisputeView/DisputeInfo/DisputeInfoList.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,22 @@ import Field, { IField } from "components/Field";
66
import CardLabel from "../CardLabels";
77

88
import { FieldItem, IDisputeInfo } from ".";
9+
import { responsiveSize } from "styles/responsiveSize";
910

1011
const Container = styled.div<{ isLabel?: boolean }>`
1112
display: flex;
1213
width: 100%;
1314
height: 100%;
1415
flex-direction: row;
1516
justify-content: ${({ isLabel }) => (isLabel ? "space-between" : "flex-end")};
16-
flex: 0 1 450px;
17+
flex: 0 1 ${responsiveSize(400, 450, 900)};
1718
align-items: center;
19+
padding-right: ${responsiveSize(12, 24, 900)};
20+
gap: 8px;
1821
`;
1922

2023
const RestOfFieldsContainer = styled.div`
21-
gap: 8px;
24+
gap: 8px ${responsiveSize(8, 32, 900)};
2225
align-items: center;
2326
height: min-content;
2427
width: max-content;

web/src/components/DisputeView/DisputeListView.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ const ListContainer = styled.div`
2323
display: flex;
2424
justify-content: space-between;
2525
align-items: flex-start;
26-
margin-right: 8px;
2726
flex-grow: 1;
2827
`;
2928

0 commit comments

Comments
 (0)