Added transitions for client only buttons
This commit is contained in:
@@ -11,6 +11,7 @@ const breakpoints = useBreakpoints(
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<ClientOnly>
|
<ClientOnly>
|
||||||
|
<Transition name="fade" appear>
|
||||||
<UiButton
|
<UiButton
|
||||||
:search-slash="breakpoints.lg.value"
|
:search-slash="breakpoints.lg.value"
|
||||||
:size="breakpoints.lg.value ? 'default' : 'icon'"
|
:size="breakpoints.lg.value ? 'default' : 'icon'"
|
||||||
@@ -22,5 +23,6 @@ const breakpoints = useBreakpoints(
|
|||||||
{{ $t('entity.advancedSearch.title') }}
|
{{ $t('entity.advancedSearch.title') }}
|
||||||
</span>
|
</span>
|
||||||
</UiButton>
|
</UiButton>
|
||||||
|
</Transition>
|
||||||
</ClientOnly>
|
</ClientOnly>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ const breakpoints = useBreakpoints(
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<ClientOnly>
|
<ClientOnly>
|
||||||
|
<Transition name="fade" appear>
|
||||||
<UiButton
|
<UiButton
|
||||||
class="max-md:fixed max-md:bottom-8 max-md:right-8 max-md:z-50 max-md:size-14 max-md:rounded-xl"
|
class="max-md:fixed max-md:bottom-8 max-md:right-8 max-md:z-50 max-md:size-14 max-md:rounded-xl"
|
||||||
:size="breakpoints.lg.value ? 'default' : 'icon'"
|
:size="breakpoints.lg.value ? 'default' : 'icon'"
|
||||||
@@ -35,6 +36,7 @@ const breakpoints = useBreakpoints(
|
|||||||
{{ $t("entity.calendar.event.newEvent") }}
|
{{ $t("entity.calendar.event.newEvent") }}
|
||||||
</strong>
|
</strong>
|
||||||
</UiButton>
|
</UiButton>
|
||||||
|
</Transition>
|
||||||
</ClientOnly>
|
</ClientOnly>
|
||||||
|
|
||||||
<UiDialog v-model:open="isDialogOpen">
|
<UiDialog v-model:open="isDialogOpen">
|
||||||
|
|||||||
Reference in New Issue
Block a user