From 6ae85a1fe8ee98fe80b4d62ac768d10229a01a62 Mon Sep 17 00:00:00 2001 From: Thejana Weththasinghe <118328955+ThejanaWeththz@users.noreply.github.com> Date: Mon, 31 Mar 2025 17:21:47 +0530 Subject: [PATCH] fix(docs): code block max height (#138) --- apps/public/app/global.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/public/app/global.css b/apps/public/app/global.css index 84d9e40f..93acb1ad 100644 --- a/apps/public/app/global.css +++ b/apps/public/app/global.css @@ -213,4 +213,12 @@ h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { border-radius: 0; font-size: inherit; border: none; +} + +div[data-radix-scroll-area-viewport] > div[data-radix-scroll-area-content] { + max-height: 400px; +} + +div[data-radix-scroll-area-viewport] > div[data-radix-scroll-area-content] pre{ + max-height: none; } \ No newline at end of file