🔧 chore(codeBlock/index.tsx): adjust className to use relative width instead of fixed width to improve responsiveness
This commit is contained in:
parent
4875098209
commit
9acff51555
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ export const CodeBlock: FC<Props> = memo(({ language, value }) => {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<SyntaxHighlighter
|
<SyntaxHighlighter
|
||||||
className=" w-[570px]"
|
className=" w-[47vw]"
|
||||||
language={language}
|
language={language}
|
||||||
style={oneDark}
|
style={oneDark}
|
||||||
customStyle={{ margin: 0 }}
|
customStyle={{ margin: 0 }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue