repod/src/components/Atoms/AppContent.vue

28 lines
384 B
Vue
Raw Normal View History

<template>
<NcAppContent :class="episode ? 'margin' : ''">
<slot />
</NcAppContent>
</template>
<script>
import { NcAppContent } from '@nextcloud/vue'
export default {
name: 'AppContent',
components: {
NcAppContent,
},
computed: {
episode() {
return this.$store.state.player.episode
},
},
}
</script>
<style scoped>
.margin {
padding-bottom: 6rem;
}
</style>