style: add margin on error feed message
Some checks failed
repod / xml (push) Successful in 15s
repod / php (push) Failing after 56s
repod / nodejs (push) Successful in 2m24s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2024-01-13 00:27:36 +01:00
parent 93898d3309
commit 9137526abc

View File

@ -1,7 +1,9 @@
<template>
<NcAppContent>
<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>
<Alert />
</template>
@ -12,8 +14,7 @@
:image-url="feed.imageUrl"
:link="feed.link"
:title="feed.title" />
<Episodes v-if="feed"
:title="feed.title" />
<Episodes v-if="feed" :title="feed.title" />
</NcAppContent>
</template>
@ -67,3 +68,9 @@ export default {
},
}
</script>
<style scoped>
.error {
margin: 2rem;
}
</style>