This is an automated email from the ASF dual-hosted git repository.
tcodehuber028 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git
The following commit(s) were added to refs/heads/master by this push:
new f68a1403e [AMORO-2444] Fix the problem that the y-axis content is too
long (#3026)
f68a1403e is described below
commit f68a1403e97ce295f326f270aed74bb78886ec04
Author: chouchouji <[email protected]>
AuthorDate: Fri Jul 12 10:30:34 2024 +0800
[AMORO-2444] Fix the problem that the y-axis content is too long (#3026)
[AMORO-2444] fix the problem that the y-axis content is too long to be
displayed
---
amoro-ams/amoro-ams-dashboard/src/components/Layout.vue | 1 -
amoro-ams/amoro-ams-dashboard/src/utils/chart.ts | 2 ++
amoro-ams/amoro-ams-dashboard/src/views/tables/components/Snapshots.vue | 2 --
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/amoro-ams/amoro-ams-dashboard/src/components/Layout.vue
b/amoro-ams/amoro-ams-dashboard/src/components/Layout.vue
index 994a6dac3..04bf83e43 100644
--- a/amoro-ams/amoro-ams-dashboard/src/components/Layout.vue
+++ b/amoro-ams/amoro-ams-dashboard/src/components/Layout.vue
@@ -68,7 +68,6 @@ export default defineComponent({
transition: width 0.3s;
overflow: auto;
.content {
- // padding: 16px 24px;
height: calc(100% - 48px);
overflow: auto;
}
diff --git a/amoro-ams/amoro-ams-dashboard/src/utils/chart.ts
b/amoro-ams/amoro-ams-dashboard/src/utils/chart.ts
index beb95586c..0fdcaf292 100644
--- a/amoro-ams/amoro-ams-dashboard/src/utils/chart.ts
+++ b/amoro-ams/amoro-ams-dashboard/src/utils/chart.ts
@@ -67,6 +67,8 @@ export function generateLineChartOption(titleText: string,
data: ILineChartOrigi
grid: {
top: 40,
bottom: 50,
+ left: '1%',
+ containLabel: true,
},
}
titleText && (option.title = {
diff --git
a/amoro-ams/amoro-ams-dashboard/src/views/tables/components/Snapshots.vue
b/amoro-ams/amoro-ams-dashboard/src/views/tables/components/Snapshots.vue
index dccbc409c..978048d27 100644
--- a/amoro-ams/amoro-ams-dashboard/src/views/tables/components/Snapshots.vue
+++ b/amoro-ams/amoro-ams-dashboard/src/views/tables/components/Snapshots.vue
@@ -41,7 +41,6 @@ const columns: IColumns[] = shallowReactive([
const breadcrumbColumns = shallowReactive([
{ title: t('operation'), dataIndex: 'operation', width: 120, ellipsis: true
},
{ title: t('file'), dataIndex: 'file', ellipsis: true },
- // { title: t('fsn'), dataIndex: 'fsn' },
{ title: t('partition'), dataIndex: 'partition', width: 120 },
{ title: t('fileType'), dataIndex: 'fileType', width: 120, ellipsis: true },
{ title: t('size'), dataIndex: 'size', width: 120 },
@@ -172,7 +171,6 @@ function toggleBreadcrumb(record: SnapshotItem) {
onMounted(() => {
hasBreadcrumb.value = false
- // getTableInfo()
})
</script>