Skip to content

Commit

Permalink
fixup! Fix empty content for mail
Browse files Browse the repository at this point in the history
Signed-off-by: GretaD <gretadoci@gmail.com>
  • Loading branch information
GretaD committed Sep 1, 2020
1 parent 38dac25 commit be4daa8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 17 deletions.
19 changes: 8 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"svg-inline-loader": "^0.8.2",
"url-loader": "^4.1.0",
"vue-loader": "^15.9.3",
"vue-server-renderer": "^2.6.12",
"vue-server-renderer": "^2.6.11",
"vue-template-compiler": "^2.6.12",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12",
Expand Down
10 changes: 5 additions & 5 deletions src/views/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
<EmptyContent id="mail--empty-content" icon="icon-checkmark">
<template #desc>
{{ t('mail', 'No message found yet') }}
<div class="no-account">
<a v-if="accounts.length === 0" :href="accountSetupUrl" class="button">{{ t('mail', 'Set up an account') }}</a>
</div>
</template>
</EmptyContent>
<div class="no-account icon-archive">
<a v-if="accounts.length === 0" :href="accountSetupUrl" class="button">{{ t('mail', 'Set up an account') }}</a>
</div>
</EmptyContent>
</template>
</DashboardWidget>
</template>
Expand Down Expand Up @@ -140,6 +140,6 @@ export default {
}
.no-account {
margin-top: 5vh;
margin-left: 75px;
margin-right: 5px;
}
</style>

0 comments on commit be4daa8

Please sign in to comment.