Skip to content

Commit

Permalink
docs(AppExample): only render top border when showCode && !preview
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Jun 6, 2024
1 parent 2368668 commit 8511c37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docs/src/components/examples/Example.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</v-lazy>

<div class="d-flex flex-column">
<v-expand-transition v-if="hasRendered">
<v-expand-transition v-if="hasRendered || preview">
<v-window v-show="showCode" v-model="template">
<v-window-item
v-for="(section, i) of sections"
Expand All @@ -88,7 +88,7 @@
</v-expand-transition>

<v-theme-provider
:class="showCode && 'border-t'"
:class="showCode && !preview && 'border-t'"
:theme="theme"
class="pa-2 rounded-b"
with-background
Expand Down

0 comments on commit 8511c37

Please sign in to comment.