File tree Expand file tree Collapse file tree 3 files changed +21
-17
lines changed Expand file tree Collapse file tree 3 files changed +21
-17
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ interface IVoteWithCommit {
77
88const VoteWithCommit : React . FC < IVoteWithCommit > = ( { date } ) => {
99 return (
10- < >
10+ < div >
1111 Your vote is confirmed. It's kept secret until all jurors have cast their votes.
1212 < VoteDescriptionEmphasizedDate >
1313 You'll need to justify and reveal your vote on { date }
1414 </ VoteDescriptionEmphasizedDate >
15- </ >
15+ </ div >
1616 ) ;
1717} ;
1818export default VoteWithCommit ;
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ interface IVoteWithoutCommit {
77
88const VoteWithoutCommit : React . FC < IVoteWithoutCommit > = ( { date } ) => {
99 return (
10- < >
10+ < div >
1111 The decision date is < VoteDescriptionEmphasizedDate > { date } </ VoteDescriptionEmphasizedDate > with the possibility
1212 for appeals. After that time you will be informed about the jury decision.
13- </ >
13+ </ div >
1414 ) ;
1515} ;
1616export default VoteWithoutCommit ;
Original file line number Diff line number Diff line change @@ -4,29 +4,33 @@ import InfoCircle from "tsx:svgs/icons/info-circle.svg";
44
55const Container = styled . div `
66 display: flex;
7- gap: 8px ;
7+ gap: 4px ;
88 text-align: center;
9- align-items: center;
109 margin: 0 calc(8px + (32 - 8) * ((100vw - 300px) / (1250 - 300)));
1110 margin-top: calc(8px + (24 - 8) * ((100vw - 300px) / (1250 - 300)));
12- small {
13- font-size: 14px;
14- font-weight: 400;
15- color: ${ ( { theme } ) => theme . secondaryText } ;
16- line-height: 19px;
17- }
11+ font-size: 14px;
12+ font-weight: 400;
13+ line-height: 19px;
14+ color: ${ ( { theme } ) => theme . secondaryText } ;
1815` ;
1916
20- const StyledInfoCircle = styled ( InfoCircle ) `
21- min-width: 16px;
22- min-height: 16px;
17+ const InfoCircleContainer = styled . div `
18+ display: flex;
19+ margin-top: 2px;
20+
21+ svg {
22+ min-width: 16px;
23+ min-height: 16px;
24+ }
2325` ;
2426
2527const VoteWithCommitExtraInfo : React . FC = ( ) => {
2628 return (
2729 < Container >
28- < StyledInfoCircle />
29- < small > Subscribe to receive notifications to be reminded when the reveal time comes.</ small >
30+ < InfoCircleContainer >
31+ < InfoCircle />
32+ </ InfoCircleContainer >
33+ Subscribe to receive notifications to be reminded when the reveal time comes.
3034 </ Container >
3135 ) ;
3236} ;
You can’t perform that action at this time.
0 commit comments