Skip to content

Commit

Permalink
Merge pull request #2270 from nextcloud/bugfix/noid/empty-content-das…
Browse files Browse the repository at this point in the history
…hboard

Fix empty content view to align with other widgets
  • Loading branch information
juliushaertl authored Sep 7, 2020
2 parents f1a59f2 + 34e6bea commit 1f89039
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/views/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@
<EmptyContent
id="deck-widget-empty-content"
icon="icon-deck">
{{ t('deck', 'No upcoming cards') }}
<template #desc>
{{ t('deck', 'No upcoming cards') }}
</template>
</EmptyContent>
</template>
</DashboardWidget>
Expand Down Expand Up @@ -111,6 +113,11 @@ export default {
<style lang="scss" scoped>
@import './../css/labels';
#deck-widget-empty-content {
text-align: center;
margin-top: 5vh;
}
.card {
display: block;
border-radius: var(--border-radius-large);
Expand Down

0 comments on commit 1f89039

Please sign in to comment.