change fontsize

This commit is contained in:
PhilReact 2024-12-01 16:04:22 +02:00
parent 160e3423c8
commit 3947cc0c57

View File

@ -271,6 +271,12 @@ export const PollCard = ({
/>
}
label={option?.optionName}
sx={{
"& .MuiFormControlLabel-label": {
fontSize: "14px",
},
}}
/>
))}
</RadioGroup>
@ -353,13 +359,13 @@ export const PollCard = ({
<Box sx={{ display: "flex", justifyContent: "space-between" }}>
<Typography
variant="body1"
sx={{ fontWeight: index === 0 ? "bold" : "normal" }}
sx={{ fontWeight: index === 0 ? "bold" : "normal", fontSize: "14px" }}
>
{`${index + 1}. ${option.optionName}`}
</Typography>
<Typography
variant="body1"
sx={{ fontWeight: index === 0 ? "bold" : "normal" }}
sx={{ fontWeight: index === 0 ? "bold" : "normal", fontSize: "14px" }}
>
{option.voteCount} votes
</Typography>