Skip to content

Commit cdaf0fb

Browse files
authored
Merge pull request #276 from HarvardOpenData/jp-prediction-linebreak
Add new line break to multiple choice prediction
2 parents 9cc10e9 + 532acac commit cdaf0fb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

web/src/components/predictions/questions/multiple-category-choice.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ function MultipleCategoryChoice(props) {
8282
<Spacer height={0} />
8383
{displayValues &&
8484
displayValues.map((val, i) => (
85-
<Text sx={{ fontSize: 1 }}>{`${choices[i]}: ${val}%`}</Text>
85+
<div>
86+
<Text sx={{ fontSize: 1 }}>{`${choices[i]}: ${val}%`}</Text>
87+
<br></br>
88+
</div>
8689
))}
8790
</div>
8891
) : (

web/src/pages/predictions.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ const PredictionsPage = (props) => {
6161
<div>
6262
<Login />
6363
<BlockContent blocks={page._rawBody || []} />
64-
<BannerHeader />
6564
</div>
6665
<div className="small preview" sx={{ p: 4, bg: "pink" }}>
6766
<BlockContent blocks={page._rawBodySecondary || []} />

0 commit comments

Comments
 (0)