Skip to content

Commit c441959

Browse files
committed
fix: margin adjustments case overview page
1 parent 20ac82c commit c441959

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

web/src/components/DisputePreview/DisputeContext.tsx

+5-3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ const ReactMarkdownWrapper = styled.div`
2727
}
2828
`;
2929

30+
const QuestionAndDescriptionWrapper = styled.div``;
31+
3032
const VotingOptions = styled.div`
3133
display: flex;
3234
flex-direction: column;
@@ -38,7 +40,7 @@ const AnswersContainer = styled.div`
3840
flex-direction: column;
3941
`;
4042

41-
const AnswersHeader = styled.h3`
43+
const AnswersHeader = styled.small`
4244
margin: 0;
4345
`;
4446

@@ -66,7 +68,7 @@ export const DisputeContext: React.FC<IDisputeContext> = ({ disputeDetails, isRp
6668
<>
6769
<StyledH1>{isUndefined(disputeDetails) ? <StyledSkeleton /> : (disputeDetails?.title ?? errMsg)}</StyledH1>
6870
{!isUndefined(disputeDetails) ? (
69-
<>
71+
<QuestionAndDescriptionWrapper>
7072
{disputeDetails?.question?.trim() ? (
7173
<ReactMarkdownWrapper>
7274
<ReactMarkdown>{disputeDetails.question}</ReactMarkdown>
@@ -77,7 +79,7 @@ export const DisputeContext: React.FC<IDisputeContext> = ({ disputeDetails, isRp
7779
<ReactMarkdown>{disputeDetails.description}</ReactMarkdown>
7880
</ReactMarkdownWrapper>
7981
) : null}
80-
</>
82+
</QuestionAndDescriptionWrapper>
8183
) : null}
8284

8385
{isUndefined(disputeDetails?.frontendUrl) ? null : (

web/src/components/Verdict/FinalDecision.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ const VerdictContainer = styled.div`
5353

5454
const JuryDecisionTag = styled.small`
5555
font-weight: 400;
56-
line-height: 19px;
5756
color: ${({ theme }) => theme.secondaryText};
5857
`;
5958

web/src/pages/Cases/CaseDetails/index.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const StyledCard = styled(Card)`
2929
width: 100%;
3030
height: auto;
3131
min-height: 100px;
32+
border-radius: 0 0 3px 3px;
3233
`;
3334

3435
const HeaderContainer = styled.div`

0 commit comments

Comments
 (0)