Missing atoms
This commit is contained in:
parent
302f1954ce
commit
ea0bfcc532
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div :class="currentEpisode ? 'margin' : ''">
|
||||||
<NcLoadingIcon v-if="loading" class="loading" />
|
<NcLoadingIcon v-if="loading" class="loading" />
|
||||||
<ul v-if="!loading">
|
<ul v-if="!loading">
|
||||||
<NcListItem v-for="episode in episodes"
|
<NcListItem v-for="episode in episodes"
|
||||||
@ -103,4 +103,8 @@ export default {
|
|||||||
.loading {
|
.loading {
|
||||||
margin: 2rem 0;
|
margin: 2rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.margin {
|
||||||
|
margin-bottom: 6rem;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-if="player.episode" class="footer">
|
<div v-if="player.episode" class="footer">
|
||||||
<NcLoadingIcon v-if="!player.loaded" />
|
<NcLoadingIcon v-if="!player.loaded" class="loading" />
|
||||||
<ProgressBar v-if="player.loaded" />
|
<ProgressBar v-if="player.loaded" />
|
||||||
<div v-if="player.loaded" class="player">
|
<div v-if="player.loaded" class="player">
|
||||||
<img :src="player.episode.episodeImage">
|
<img :src="player.episode.episodeImage">
|
||||||
@ -63,4 +63,8 @@ export default {
|
|||||||
.volume {
|
.volume {
|
||||||
width: 10%;
|
width: 10%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.loading {
|
||||||
|
margin: 2rem 0;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<NcAppNavigation>
|
<NcAppNavigation :class="currentEpisode ? 'margin' : ''">
|
||||||
<NcAppContentList>
|
<NcAppContentList>
|
||||||
<router-link to="/">
|
<router-link to="/">
|
||||||
<NcAppNavigationNew :text="t('Add a podcast')">
|
<NcAppNavigationNew :text="t('Add a podcast')">
|
||||||
@ -45,6 +45,9 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
currentEpisode() {
|
||||||
|
return this.$store.state.player.episode
|
||||||
|
},
|
||||||
subscriptions() {
|
subscriptions() {
|
||||||
return this.$store.state.subscriptions.subscriptions
|
return this.$store.state.subscriptions.subscriptions
|
||||||
},
|
},
|
||||||
@ -61,3 +64,9 @@ export default {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.margin {
|
||||||
|
margin-bottom: 6rem;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user