Files
tehran_taj/apps/user-app-v2/src/components/ui/ContentWrapper.vue
T

13 lines
357 B
Vue
Raw Normal View History

<!-- Ported from legacy henza_pwa/src/components/content.vue -->
<template>
<main :style="{ marginTop: transition.transitionEnded ? `${transition.headerHeight}px` : 'unset' }">
<slot />
</main>
</template>
<script setup lang="ts">
import { useTransitionStore } from '../../stores/transitionStore'
const transition = useTransitionStore()
</script>