File tree 7 files changed +51
-51
lines changed 7 files changed +51
-51
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,11 @@ interface IDisputeContext {
64
64
65
65
export const DisputeContext : React . FC < IDisputeContext > = ( { disputeDetails, isRpcError = false } ) => {
66
66
const errMsg = isRpcError ? RPC_ERROR : INVALID_DISPUTE_DATA_ERROR ;
67
+
67
68
return (
68
69
< >
69
70
< StyledH1 > { isUndefined ( disputeDetails ) ? < StyledSkeleton /> : ( disputeDetails ?. title ?? errMsg ) } </ StyledH1 >
70
- { ! isUndefined ( disputeDetails ) ? (
71
+ { disputeDetails ?. question ?. trim ( ) || disputeDetails ?. description ?. trim ( ) ? (
71
72
< QuestionAndDescriptionWrapper >
72
73
{ disputeDetails ?. question ?. trim ( ) ? (
73
74
< ReactMarkdownWrapper >
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import DisputeView from "components/DisputeView";
14
14
import { SkeletonDisputeCard } from "components/StyledSkeleton" ;
15
15
16
16
const Container = styled . div `
17
- margin-top: ${ responsiveSize ( 48 , 80 ) } ;
17
+ margin-top: ${ responsiveSize ( 24 , 48 ) } ;
18
18
` ;
19
19
20
20
const Title = styled . h1 `
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { ExternalLink } from "components/ExternalLink";
14
14
const Container = styled . div `
15
15
height: 122px;
16
16
width: 100%;
17
- background-color: ${ ( { theme } ) => theme . primaryPurple } ;
17
+ background-color: ${ ( { theme } ) => ( theme . name === "dark" ? theme . lightBlue : theme . primaryPurple ) } ;
18
18
display: flex;
19
19
flex-direction: column;
20
20
justify-content: center;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const Container = styled.div`
9
9
z-index: 10;
10
10
top: 0;
11
11
width: 100%;
12
- background-color: ${ ( { theme } ) => theme . primaryPurple } ;
12
+ background-color: ${ ( { theme } ) => ( theme . name === "dark" ? theme . lightBlue : theme . primaryPurple ) } ;
13
13
14
14
display: flex;
15
15
flex-wrap: wrap;
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ const Container = styled.div`
32
32
` ;
33
33
34
34
const StyledCasesDisplay = styled ( CasesDisplay ) `
35
- margin-top: ${ responsiveSize ( 32 , 48 ) } ;
35
+ margin-top: ${ responsiveSize ( 24 , 48 ) } ;
36
36
37
37
.title {
38
38
margin-bottom: ${ responsiveSize ( 12 , 24 ) } ;
You can’t perform that action at this time.
0 commit comments