fix change thumb color
This commit is contained in:
parent
0e6e31e5d1
commit
39fa61a698
@ -39,6 +39,7 @@ interface OwnInputProps {
|
||||
}
|
||||
const OwnInput = ({ questionId, variant, largeCheck, ownPlaceholder }: OwnInputProps) => {
|
||||
const theme = useTheme();
|
||||
console.log(theme.palette.primary.main);
|
||||
const ownVariants = useQuizViewStore((state) => state.ownVariants);
|
||||
const { updateOwnVariant } = useQuizViewStore((state) => state);
|
||||
|
||||
@ -64,6 +65,9 @@ const OwnInput = ({ questionId, variant, largeCheck, ownPlaceholder }: OwnInputP
|
||||
"&::-webkit-scrollbar-thumb": {
|
||||
backgroundColor: "#b8babf",
|
||||
},
|
||||
"&::-webkit-scrollbar-color": {
|
||||
backgroundColor: theme.palette.primary.main,
|
||||
},
|
||||
}}
|
||||
value={ownAnswer}
|
||||
onClick={(e: React.MouseEvent<HTMLTextAreaElement>) => e.stopPropagation()}
|
||||
@ -190,6 +194,9 @@ export const EmojiVariant = ({
|
||||
"&::-webkit-scrollbar-thumb": {
|
||||
backgroundColor: "#b8babf",
|
||||
},
|
||||
"&::-webkit-scrollbar-color": {
|
||||
backgroundColor: theme.palette.primary.main,
|
||||
},
|
||||
},
|
||||
"& .MuiFormControlLabel-label.Mui-disabled": {
|
||||
color: theme.palette.text.primary,
|
||||
|
@ -52,6 +52,9 @@ const OwnInput = ({ questionId, variant, largeCheck, ownPlaceholder }: OwnInputP
|
||||
"&::-webkit-scrollbar-thumb": {
|
||||
backgroundColor: "#b8babf",
|
||||
},
|
||||
"&::-webkit-scrollbar-color": {
|
||||
backgroundColor: theme.palette.primary.main,
|
||||
},
|
||||
}}
|
||||
value={ownAnswer}
|
||||
onClick={(e: React.MouseEvent<HTMLTextAreaElement>) => e.stopPropagation()}
|
||||
@ -176,6 +179,9 @@ export const ImageVariant = ({
|
||||
"&::-webkit-scrollbar-thumb": {
|
||||
backgroundColor: "#b8babf",
|
||||
},
|
||||
"&::-webkit-scrollbar-color": {
|
||||
backgroundColor: theme.palette.primary.main,
|
||||
},
|
||||
},
|
||||
}}
|
||||
value={index}
|
||||
|
Loading…
Reference in New Issue
Block a user