Skip to content

Commit fe0919e

Browse files
committed
fix: adjustment voting history tab
1 parent 2b89ecb commit fe0919e

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

web/src/pages/Cases/CaseDetails/Voting/PendingVotesBox.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const StyledBox = styled(Box)`
1414
display: flex;
1515
gap: 8px;
1616
align-items: center;
17+
margin-bottom: -4px;
1718
> p {
1819
margin: 0;
1920
}

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

+5-10
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,10 @@ const StyledAccordion = styled(CustomAccordion)`
2727
}
2828
2929
[class*="accordion-button"] {
30-
padding: 16px ${responsiveSize(8, 18)} !important;
30+
padding: 11.5px ${responsiveSize(8, 18)} !important;
3131
background-color: ${({ theme }) => theme.whiteBackground} !important;
32-
border: 0.5px solid ${({ theme }) => theme.stroke} !important;
33-
border-left: 1px solid ${({ theme }) => theme.stroke} !important;
34-
border-right: 1px solid ${({ theme }) => theme.stroke} !important;
35-
border-radius: 0;
32+
border: 1px solid ${({ theme }) => theme.stroke} !important;
33+
margin: 4px 0;
3634
> svg {
3735
fill: ${({ theme }) => theme.primaryText} !important;
3836
}
@@ -46,11 +44,8 @@ const StyledAccordion = styled(CustomAccordion)`
4644
const StyledCard = styled(Card)`
4745
width: 100%;
4846
height: auto;
49-
padding: 16px ${responsiveSize(8, 18)};
50-
border: 0.5px solid ${({ theme }) => theme.stroke};
51-
border-left: 1px solid ${({ theme }) => theme.stroke};
52-
border-right: 1px solid ${({ theme }) => theme.stroke};
53-
border-radius: 0;
47+
padding: 11.5px ${responsiveSize(8, 18)};
48+
border: 1px solid ${({ theme }) => theme.stroke};
5449
`;
5550

5651
const AccordionContentContainer = styled.div`

0 commit comments

Comments
 (0)