fix emoji variant scrollbar
This commit is contained in:
parent
7d8ad9a520
commit
9459970624
@ -118,7 +118,6 @@ export const Emoji = ({ currentQuestion }: EmojiProps) => {
|
||||
wordBreak: "break-word",
|
||||
height: variant.answer.length <= 60 ? undefined : "60px",
|
||||
overflow: "auto",
|
||||
lineHeight: "normal",
|
||||
paddingLeft: "45px",
|
||||
"&::-webkit-scrollbar": {
|
||||
width: "4px",
|
||||
@ -177,7 +176,10 @@ export const Emoji = ({ currentQuestion }: EmojiProps) => {
|
||||
}
|
||||
label={
|
||||
<Box sx={{ display: "flex", gap: "10px" }}>
|
||||
<Typography sx={{ wordBreak: "break-word" }}>{variant.answer}</Typography>
|
||||
<Typography sx={{
|
||||
wordBreak: "break-word",
|
||||
lineHeight: "normal",
|
||||
}}>{variant.answer}</Typography>
|
||||
</Box>
|
||||
}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user