fix: prevent nested scrolling in markdown code blocks (#4505)

🔧 (NodeDescription/index.tsx): update class name to prevent text overflow and improve readability
This commit is contained in:
Cristhian Zanforlin Lousa 2024-11-11 18:20:04 -03:00 committed by GitHub
commit 961189a7dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -149,7 +149,7 @@ export default function NodeDescription({
<Markdown
linkTarget="_blank"
className={cn(
"markdown prose flex h-full w-full flex-col text-[13px] leading-5 word-break-break-word",
"markdown nowheel prose flex h-full w-full flex-col text-[13px] leading-5 word-break-break-word",
mdClassName,
)}
>