@@ -19,6 +19,8 @@ import { ExternalLink } from "../ExternalLink";
1919const StyledH1 = styled . h1 `
2020 margin: 0;
2121 word-wrap: break-word;
22+ font-size: ${ responsiveSize ( 18 , 24 ) } ;
23+ line-height: 24px;
2224` ;
2325
2426const ReactMarkdownWrapper = styled . div `
@@ -36,17 +38,25 @@ const VotingOptions = styled.div`
3638const AnswersContainer = styled . div `
3739 display: flex;
3840 flex-direction: column;
41+ gap: ${ responsiveSize ( 4 , 2 ) } ;
3942` ;
4043
4144const AnswersHeader = styled . small `
4245 margin: 0;
4346` ;
4447
45- const Answer = styled . div `
46- margin: 0px;
47- display: flex;
48- flex-wrap: wrap;
49- gap: 6px;
48+ export const AnswerTitleAndDescription = styled . div `
49+ display: block;
50+ ` ;
51+
52+ export const AnswerTitle = styled . small `
53+ display: inline;
54+ ` ;
55+
56+ export const AnswerDescription = styled . small `
57+ display: inline;
58+ font-weight: 400;
59+ color: ${ ( { theme } ) => theme . secondaryText } ;
5060` ;
5161
5262const AliasesContainer = styled . div `
@@ -90,12 +100,11 @@ export const DisputeContext: React.FC<IDisputeContext> = ({ disputeDetails, isRp
90100 { isUndefined ( disputeDetails ) ? null : < AnswersHeader > Voting Options</ AnswersHeader > }
91101 < AnswersContainer >
92102 { disputeDetails ?. answers ?. map ( ( answer : IAnswer , i : number ) => (
93- < Answer key = { answer . title } >
94- < small >
95- < label > { i + 1 } .</ label > { answer . title }
96- { answer . description . trim ( ) ? ` - ${ answer . description } ` : null }
97- </ small >
98- </ Answer >
103+ < AnswerTitleAndDescription key = { answer . title } >
104+ < label > { i + 1 } . </ label >
105+ < AnswerTitle > { answer . title } </ AnswerTitle >
106+ < AnswerDescription > { answer . description . trim ( ) ? ` - ${ answer . description } ` : null } </ AnswerDescription >
107+ </ AnswerTitleAndDescription >
99108 ) ) }
100109 </ AnswersContainer >
101110 </ VotingOptions >
0 commit comments