diff --git a/lib/components/ViewPublicationPage/questions/Emoji.tsx b/lib/components/ViewPublicationPage/questions/Emoji.tsx index 6a69ff8..8bded35 100644 --- a/lib/components/ViewPublicationPage/questions/Emoji.tsx +++ b/lib/components/ViewPublicationPage/questions/Emoji.tsx @@ -34,7 +34,11 @@ export const Emoji = ({ currentQuestion }: EmojiProps) => { return ( - {currentQuestion.title} + {currentQuestion.title} { height: variant.answer.length <= 60 ? undefined : "60px", overflow: "auto", paddingLeft: "45px", + "&::-webkit-scrollbar": { + width: "4px", + }, + "&::-webkit-scrollbar-thumb": { + backgroundColor: "#b8babf", + } }, }} value={index} @@ -166,5 +176,4 @@ export const Emoji = ({ currentQuestion }: EmojiProps) => { ); - }; diff --git a/lib/components/ViewPublicationPage/questions/Images.tsx b/lib/components/ViewPublicationPage/questions/Images.tsx index 6eac749..c6ffa8d 100644 --- a/lib/components/ViewPublicationPage/questions/Images.tsx +++ b/lib/components/ViewPublicationPage/questions/Images.tsx @@ -138,6 +138,12 @@ export const Images = ({ currentQuestion }: ImagesProps) => { height: variant.answer.length <= 60 ? undefined : "60px", overflow: "auto", paddingLeft: "45px", + "&::-webkit-scrollbar": { + width: "4px", + }, + "&::-webkit-scrollbar-thumb": { + backgroundColor: "#b8babf", + } }, }} value={index} diff --git a/lib/components/ViewPublicationPage/questions/Variant.tsx b/lib/components/ViewPublicationPage/questions/Variant.tsx index cee7f36..2c5736c 100644 --- a/lib/components/ViewPublicationPage/questions/Variant.tsx +++ b/lib/components/ViewPublicationPage/questions/Variant.tsx @@ -168,6 +168,12 @@ const VariantItem = ({ wordBreak: "break-word", height: variant.answer.length <= 60 ? undefined : "60px", overflow: "auto", + "&::-webkit-scrollbar": { + width: "4px", + }, + "&::-webkit-scrollbar-thumb": { + backgroundColor: "#b8babf", + } } }} value={index} diff --git a/lib/components/ViewPublicationPage/questions/Varimg.tsx b/lib/components/ViewPublicationPage/questions/Varimg.tsx index fb05f19..3ea133d 100644 --- a/lib/components/ViewPublicationPage/questions/Varimg.tsx +++ b/lib/components/ViewPublicationPage/questions/Varimg.tsx @@ -80,6 +80,12 @@ export const Varimg = ({ currentQuestion }: VarimgProps) => { height: variant.answer.length <= 60 ? undefined : "60px", overflow: "auto", paddingLeft: "45px", + "&::-webkit-scrollbar": { + width: "4px", + }, + "&::-webkit-scrollbar-thumb": { + backgroundColor: "#b8babf", + } } }} value={index}