Skip to content

Commit

Permalink
style(aside): appear
Browse files Browse the repository at this point in the history
  • Loading branch information
Novout committed Sep 25, 2021
1 parent f74482e commit 0582d86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions src/components/editor/aside/AsideBarItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,13 @@
</svg>
</HeroIcon>
</DisclosureButton>
<DisclosurePanel class="flex flex-col w-full items-center justify-between">
<slot />
</DisclosurePanel>
<transition name="fade" appear>
<DisclosurePanel
class="flex flex-col w-full items-center justify-between"
>
<slot />
</DisclosurePanel>
</transition>
</Disclosure>
</template>

Expand Down
2 changes: 1 addition & 1 deletion src/components/editor/main/EditorBase.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
dark:bg-gray-700
"
>
<transition-group name="list" tag="div">
<transition-group name="list" tag="div" appear>
<TextShow
v-for="entity in store.state.context.entity"
:id="id(entity)"
Expand Down

0 comments on commit 0582d86

Please sign in to comment.