🔧 chore(codeBlock/index.tsx): adjust className to use relative width instead of fixed width to improve responsiveness

This commit is contained in:
Lucas Oliveira 2023-06-29 23:19:44 -03:00
commit 9acff51555

View file

@ -69,7 +69,7 @@ export const CodeBlock: FC<Props> = memo(({ language, value }) => {
</div>
<SyntaxHighlighter
className=" w-[570px]"
className=" w-[47vw]"
language={language}
style={oneDark}
customStyle={{ margin: 0 }}