change fontsize

This commit is contained in:
PhilReact 2024-12-01 16:04:04 +02:00
parent 729c8e002a
commit 70a93ba77f

View File

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