Fixed overflow at CodeTabsComponent tweaks page

This commit is contained in:
Lucas Oliveira 2024-04-02 02:24:49 +02:00
commit 4f0a7fa599

View file

@ -205,10 +205,7 @@ export default function CodeTabsComponent({
<div className="api-modal-according-display">
<div
className={classNames(
"h-[70vh] w-full rounded-lg bg-muted",
1 == 1
? "overflow-scroll overflow-x-hidden custom-scroll"
: "overflow-hidden"
"h-[70vh] w-full rounded-lg bg-muted overflow-y-auto overflow-x-hidden custom-scroll"
)}
>
{data?.map((node: any, i) => (