From 6c8f61c8f3bcfa159180e15ce920f7c44b9c9867 Mon Sep 17 00:00:00 2001 From: Nolann Biron Date: Wed, 26 Mar 2025 15:20:33 +0100 Subject: [PATCH] Reduce font-size --- .../src/components/DocumentView/OpenAPI/style.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/gitbook/src/components/DocumentView/OpenAPI/style.css b/packages/gitbook/src/components/DocumentView/OpenAPI/style.css index e5785bf91..6799cac96 100644 --- a/packages/gitbook/src/components/DocumentView/OpenAPI/style.css +++ b/packages/gitbook/src/components/DocumentView/OpenAPI/style.css @@ -694,7 +694,11 @@ } .openapi-codesample pre, -.openapi-response-example pre, -.openapi-response-example-empty pre { - @apply !bg-tint-subtle text-[0.8125rem] leading-5 theme-gradient:!bg-transparent; +.openapi-response-example pre { + @apply !bg-tint-subtle theme-gradient:!bg-transparent; +} + +.openapi-codesample pre .highlight-line-content, +.openapi-response-example pre .highlight-line-content { + @apply !text-[0.8125rem] !leading-5; }