fix: dashboard card alignment

This commit is contained in:
wangruidong
2024-05-23 18:14:53 +08:00
committed by w940853815
parent b8025ae5bb
commit f7ab833cb8
3 changed files with 16 additions and 15 deletions

View File

@@ -114,7 +114,7 @@ export default {
} }
.box { .box {
margin-top: 16px; margin-top: 10px;
padding: 20px; padding: 20px;
background: #fff; background: #fff;

View File

@@ -104,7 +104,7 @@ export default {
padding: 26px 0 10px; padding: 26px 0 10px;
& >>> .echarts { & >>> .echarts {
width: 100% !important; width: 100% !important;
height: 272px !important; height: 278px !important;
} }
} }

View File

@@ -232,19 +232,20 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.echarts { .echarts {
width: 100%; width: 100%;
height: 266px; height: 272px;
}
@media print {
.disabled-when-print {
display: none;
} }
@media print { .enabled-when-print {
.disabled-when-print{ display: inherit !important;
display: none;
}
.enabled-when-print{
display: inherit !important;
}
.print-margin{
margin-top: 10px;
}
} }
.print-margin {
margin-top: 10px;
}
}
</style> </style>