Skip to content

Commit

Permalink
fix(webui): remove max-height from code block on module page
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Apr 8, 2024
1 parent 47d3743 commit 387c2c9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions webui/src/components/code/CodeBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import { type CodeLanguages, type CodeThemes, useCodeHighlighter } from './CodeP

export function CodeBlock({ children }: PropsWithChildren) {
return (
<div className="grid grid-cols-2 auto-rows-fr md:grid-cols-2 md:auto-rows-auto max-h-[820px]">
{children}
</div>
<div className="grid grid-cols-2 auto-rows-fr md:grid-cols-2 md:auto-rows-auto">{children}</div>
);
}

Expand Down

0 comments on commit 387c2c9

Please sign in to comment.