File tree Expand file tree Collapse file tree 5 files changed +11
-10
lines changed
Expand file tree Collapse file tree 5 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -9,21 +9,22 @@ export const StyledSkeleton = styled(Skeleton)`
99
1010const SkeletonDisputeCardContainer = styled . div `
1111 width: 100%;
12+
1213 ${ landscapeStyle (
1314 ( ) =>
1415 css `
1516 /* Explanation of this formula:
16- - The 48px accounts for the total width of gaps: 2 gaps * 24px each.
17- - The 0.333 is used to equally distribute width among 3 cards per row.
18- - The 294px ensures the card has a minimum width.
19- */
20- width: max(calc((100% - 48px) * 0.333), 294px );
17+ - The 48px accounts for the total width of gaps: 2 gaps * 24px each.
18+ - The 0.333 is used to equally distribute width among 3 cards per row.
19+ - The 348px ensures the card has a minimum width.
20+ */
21+ width: max(calc((100% - 48px) * 0.333), 348px );
2122 `
2223 ) }
2324` ;
2425
2526const StyledSkeletonDisputeCard = styled ( Skeleton ) `
26- height: 260px ;
27+ height: calc(272px + (296 - 270) * (min(max(100vw, 375px), 1250px) - 375px) / 875) ;
2728` ;
2829
2930const StyledSkeletonDisputeListItem = styled ( Skeleton ) `
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const Container = styled.div`
99 background-color: ${ ( { theme } ) => theme . lightBackground } ;
1010 padding: calc(32px + (136 - 32) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
1111 padding-top: calc(32px + (80 - 32) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
12- padding-bottom: calc(64px + (96 - 64) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
12+ padding-bottom: calc(64px + (120 - 64) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
1313 max-width: 1780px;
1414 margin: 0 auto;
1515` ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const Container = styled.div`
99 background-color: ${ ( { theme } ) => theme . lightBackground } ;
1010 padding: calc(32px + (136 - 32) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
1111 padding-top: calc(32px + (80 - 32) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
12- padding-bottom: calc(64px + (96 - 64) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
12+ padding-bottom: calc(64px + (120 - 64) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
1313 max-width: 1780px;
1414 margin: 0 auto;
1515` ;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const Container = styled.div`
1616 background-color: ${ ( { theme } ) => theme . lightBackground } ;
1717 padding: calc(32px + (136 - 32) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
1818 padding-top: calc(32px + (80 - 32) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
19- padding-bottom: calc(64px + (96 - 64) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
19+ padding-bottom: calc(64px + (120 - 64) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
2020 max-width: 1780px;
2121 margin: 0 auto;
2222` ;
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const Container = styled.div`
1212 background-color: ${ ( { theme } ) => theme . lightBackground } ;
1313 padding: calc(32px + (132 - 32) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
1414 padding-top: calc(32px + (72 - 32) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
15- padding-bottom: calc(64px + (96 - 64) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
15+ padding-bottom: calc(64px + (120 - 64) * (min(max(100vw, 375px), 1250px) - 375px) / 875);
1616 max-width: 1780px;
1717 margin: 0 auto;
1818` ;
You can’t perform that action at this time.
0 commit comments