style: add margin on error feed message
This commit is contained in:
parent
93898d3309
commit
9137526abc
@ -1,7 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<NcAppContent>
|
<NcAppContent>
|
||||||
<Loading v-if="loading" />
|
<Loading v-if="loading" />
|
||||||
<NcEmptyContent v-if="failed" :name="t('repod', 'Error loading feed')">
|
<NcEmptyContent v-if="failed"
|
||||||
|
class="error"
|
||||||
|
:name="t('repod', 'Error loading feed')">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<Alert />
|
<Alert />
|
||||||
</template>
|
</template>
|
||||||
@ -12,8 +14,7 @@
|
|||||||
:image-url="feed.imageUrl"
|
:image-url="feed.imageUrl"
|
||||||
:link="feed.link"
|
:link="feed.link"
|
||||||
:title="feed.title" />
|
:title="feed.title" />
|
||||||
<Episodes v-if="feed"
|
<Episodes v-if="feed" :title="feed.title" />
|
||||||
:title="feed.title" />
|
|
||||||
</NcAppContent>
|
</NcAppContent>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -67,3 +68,9 @@ export default {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.error {
|
||||||
|
margin: 2rem;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user