fix: radiobuttons styles
This commit is contained in:
parent
f7b7ac79a9
commit
2e5bb8750d
@ -13,6 +13,8 @@ import CustomTextField from "@ui_kit/CustomTextField";
|
||||
|
||||
import { questionStore, updateQuestionsList } from "@root/questions";
|
||||
|
||||
import CheckedIcon from "@ui_kit/RadioCheck";
|
||||
import CheckIcon from "@ui_kit/RadioIcon";
|
||||
import InfoIcon from "../../../assets/icons/InfoIcon";
|
||||
|
||||
type SettingTextFieldProps = {
|
||||
@ -69,9 +71,14 @@ export default function SettingTextField({
|
||||
{ANSWER_TYPES.map(({ name }, index) => (
|
||||
<FormControlLabel
|
||||
key={index}
|
||||
sx={{ color: theme.palette.grey2.main }}
|
||||
sx={{
|
||||
color: theme.palette.grey2.main,
|
||||
"& .MuiRadio-root": { padding: "8px 9px" },
|
||||
}}
|
||||
value={index}
|
||||
control={<Radio />}
|
||||
control={
|
||||
<Radio icon={<CheckIcon />} checkedIcon={<CheckedIcon />} />
|
||||
}
|
||||
label={name}
|
||||
/>
|
||||
))}
|
||||
|
Loading…
Reference in New Issue
Block a user