Skip to content

Commit

Permalink
Fix empty content height in NcDashboardWidget in N in N in N
Browse files Browse the repository at this point in the history
Use padding instead of margin

Signed-off-by: Carl Schwan <[email protected]>
  • Loading branch information
CarlSchwan committed Oct 17, 2022
1 parent 71f384d commit 5e22f53
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions src/components/NcDashboardWidget/NcDashboardWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -314,16 +314,6 @@ export default {
</script>

<style scoped lang="scss">
.dashboard-widget .empty-content {
text-align: center;
margin-top: 5vh;
&.half-screen {
margin-top: 0;
margin-bottom: 1vh;
}
}
.more {
display: block;
text-align: center;
Expand Down Expand Up @@ -375,4 +365,9 @@ export default {
}
}
}
::v-deep .empty-content {
margin-top: 5vh !important;
padding-top: 5vh;
}
</style>

0 comments on commit 5e22f53

Please sign in to comment.