Skip to content

Commit 5d12cd0

Browse files
committed
fix: bug in firefox in votinghistory tab
1 parent 213bc80 commit 5d12cd0

File tree

1 file changed

+5
-6
lines changed
  • web/src/pages/Cases/CaseDetails/Voting/VotesDetails

1 file changed

+5
-6
lines changed

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

+5-6
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ const SecondaryTextLabel = styled.label`
9595
font-size: 16px;
9696
`;
9797

98+
const StyledInfoCard = styled(InfoCard)`
99+
margin-top: 18.5px;
100+
`;
101+
98102
const AccordionContent: React.FC<{
99103
choice?: string;
100104
answers: Answer[];
@@ -172,12 +176,7 @@ const VotesAccordion: React.FC<IVotesAccordion> = ({ drawnJurors, period, answer
172176

173177
return (
174178
<>
175-
{drawnJurors.length === 0 ? (
176-
<>
177-
<br />
178-
<InfoCard msg="Jurors have not been drawn yet." />
179-
</>
180-
) : null}
179+
{drawnJurors.length === 0 ? <StyledInfoCard msg="Jurors have not been drawn yet." /> : null}
181180
<Container>
182181
{accordionItems.length > 0 ? <StyledAccordion items={accordionItems} /> : null}
183182
{drawnJurors.map(

0 commit comments

Comments
 (0)