File tree Expand file tree Collapse file tree 7 files changed +51
-51
lines changed Expand file tree Collapse file tree 7 files changed +51
-51
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,11 @@ interface IDisputeContext {
6464
6565export const DisputeContext : React . FC < IDisputeContext > = ( { disputeDetails, isRpcError = false } ) => {
6666 const errMsg = isRpcError ? RPC_ERROR : INVALID_DISPUTE_DATA_ERROR ;
67+
6768 return (
6869 < >
6970 < StyledH1 > { isUndefined ( disputeDetails ) ? < StyledSkeleton /> : ( disputeDetails ?. title ?? errMsg ) } </ StyledH1 >
70- { ! isUndefined ( disputeDetails ) ? (
71+ { disputeDetails ?. question ?. trim ( ) || disputeDetails ?. description ?. trim ( ) ? (
7172 < QuestionAndDescriptionWrapper >
7273 { disputeDetails ?. question ?. trim ( ) ? (
7374 < ReactMarkdownWrapper >
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import DisputeView from "components/DisputeView";
1414import { SkeletonDisputeCard } from "components/StyledSkeleton" ;
1515
1616const Container = styled . div `
17- margin-top: ${ responsiveSize ( 48 , 80 ) } ;
17+ margin-top: ${ responsiveSize ( 24 , 48 ) } ;
1818` ;
1919
2020const Title = styled . h1 `
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { ExternalLink } from "components/ExternalLink";
1414const Container = styled . div `
1515 height: 122px;
1616 width: 100%;
17- background-color: ${ ( { theme } ) => theme . primaryPurple } ;
17+ background-color: ${ ( { theme } ) => ( theme . name === "dark" ? theme . lightBlue : theme . primaryPurple ) } ;
1818 display: flex;
1919 flex-direction: column;
2020 justify-content: center;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const Container = styled.div`
99 z-index: 10;
1010 top: 0;
1111 width: 100%;
12- background-color: ${ ( { theme } ) => theme . primaryPurple } ;
12+ background-color: ${ ( { theme } ) => ( theme . name === "dark" ? theme . lightBlue : theme . primaryPurple ) } ;
1313
1414 display: flex;
1515 flex-wrap: wrap;
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ const Container = styled.div`
3232` ;
3333
3434const StyledCasesDisplay = styled ( CasesDisplay ) `
35- margin-top: ${ responsiveSize ( 32 , 48 ) } ;
35+ margin-top: ${ responsiveSize ( 24 , 48 ) } ;
3636
3737 .title {
3838 margin-bottom: ${ responsiveSize ( 12 , 24 ) } ;
You can’t perform that action at this time.
0 commit comments