у эмоджи отображается чекбокс
This commit is contained in:
parent
05b94625ae
commit
2f7f89e8b2
@ -187,25 +187,25 @@ export const EmojiVariant = ({
|
|||||||
<FormControlLabel
|
<FormControlLabel
|
||||||
key={variant.id}
|
key={variant.id}
|
||||||
sx={{
|
sx={{
|
||||||
|
textAlign: "center",
|
||||||
|
color: theme.palette.text.primary,
|
||||||
margin: 0,
|
margin: 0,
|
||||||
padding: "15px",
|
padding: "15px",
|
||||||
color: theme.palette.text.primary,
|
|
||||||
display: "flex",
|
display: "flex",
|
||||||
gap: "10px",
|
|
||||||
alignItems: variant.answer.length <= 60 ? "center" : "flex-start",
|
alignItems: variant.answer.length <= 60 ? "center" : "flex-start",
|
||||||
position: "relative",
|
position: "relative",
|
||||||
height: "80px",
|
height: "80px",
|
||||||
overflow: "auto",
|
|
||||||
justifyContent: "center",
|
justifyContent: "center",
|
||||||
"& .MuiFormControlLabel-label": {
|
"& .MuiFormControlLabel-label": {
|
||||||
wordBreak: "break-word",
|
wordBreak: "break-word",
|
||||||
height: variant.answer.length <= 60 ? undefined : "60px",
|
height: variant.answer.length <= 60 ? "100%" : "60px",
|
||||||
overflow: "auto",
|
overflow: "auto",
|
||||||
"&::-webkit-scrollbar": { width: "4px" },
|
"&::-webkit-scrollbar": { width: "4px" },
|
||||||
"&::-webkit-scrollbar-thumb": {
|
"&::-webkit-scrollbar-thumb": {
|
||||||
backgroundColor: theme.palette.primary.main,
|
backgroundColor: theme.palette.primary.main,
|
||||||
},
|
},
|
||||||
scrollbarColor: theme.palette.primary.main,
|
scrollbarColor: theme.palette.primary.main,
|
||||||
|
width: "100%",
|
||||||
},
|
},
|
||||||
"& .MuiFormControlLabel-label.Mui-disabled": {
|
"& .MuiFormControlLabel-label.Mui-disabled": {
|
||||||
color: theme.palette.text.primary,
|
color: theme.palette.text.primary,
|
||||||
|
@ -209,7 +209,6 @@ export const ImageVariant = ({
|
|||||||
control={
|
control={
|
||||||
isMulti ? (
|
isMulti ? (
|
||||||
<Checkbox
|
<Checkbox
|
||||||
id="cock"
|
|
||||||
checked={!!answer?.includes(variant.id)}
|
checked={!!answer?.includes(variant.id)}
|
||||||
checkedIcon={<RadioCheck color={theme.palette.primary.main} />}
|
checkedIcon={<RadioCheck color={theme.palette.primary.main} />}
|
||||||
icon={<RadioIcon />}
|
icon={<RadioIcon />}
|
||||||
|
Loading…
Reference in New Issue
Block a user