From 3581b43adb193310da7a97cae980812c5a5ff656 Mon Sep 17 00:00:00 2001 From: Haytham Salama Date: Tue, 10 Oct 2023 18:39:32 +0300 Subject: [PATCH] refactor: change height --- docs/components/content/ComponentExample.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components/content/ComponentExample.vue b/docs/components/content/ComponentExample.vue index e60e074123..b1470a94a9 100644 --- a/docs/components/content/ComponentExample.vue +++ b/docs/components/content/ComponentExample.vue @@ -14,8 +14,8 @@ :value="ast" class="[&>div>pre]:!rounded-t-none [&>div>pre]:h-full [&>div>pre]:!mt-0 [&>div>pre]:block [&>div>pre]:transition-all [&>div>pre]:ease-in-out [&>div>pre]:duration-300" :class="{ - '[&>div>pre]:max-h-[250px] [&>div>pre]:block [&>div>pre]:overflow-hidden': expandCode, - '[&>div>pre]:overflow-scroll [&>div>pre]:max-h-[85vh]': !expandCode + '[&>div>pre]:max-h-[200px] [&>div>pre]:block [&>div>pre]:overflow-hidden': expandCode, + '[&>div>pre]:overflow-scroll [&>div>pre]:max-h-[80vh]': !expandCode }" />