repod/src/components/Atoms/AppContent.vue

28 lines
443 B
Vue
Raw Normal View History

<template>
2024-01-17 21:38:47 +00:00
<NcAppContent :class="episode ? 'padding' : ''">
<slot />
</NcAppContent>
</template>
<script>
import { NcAppContent } from '@nextcloud/vue'
import { mapState } from 'pinia'
import { usePlayer } from '../../store/player.js'
export default {
name: 'AppContent',
components: {
NcAppContent,
},
computed: {
...mapState(usePlayer, ['episode']),
},
}
</script>
<style scoped>
.padding {
padding-bottom: 6rem;
}
</style>