Skip to content

Commit

Permalink
refactor: change height
Browse files Browse the repository at this point in the history
  • Loading branch information
Haythamasalama committed Oct 10, 2023
1 parent 4760882 commit 3581b43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/components/content/ComponentExample.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
}"
/>
<div
Expand Down

0 comments on commit 3581b43

Please sign in to comment.