diff --git a/ui/src/layout/app-layout/index.vue b/ui/src/layout/app-layout/index.vue index 1d93815ef..98c3f8019 100644 --- a/ui/src/layout/app-layout/index.vue +++ b/ui/src/layout/app-layout/index.vue @@ -15,14 +15,22 @@ import { TopBar, AppMain } from '../components' diff --git a/ui/src/styles/variables.scss b/ui/src/styles/variables.scss index fc309228d..f72b43063 100644 --- a/ui/src/styles/variables.scss +++ b/ui/src/styles/variables.scss @@ -14,7 +14,7 @@ --app-header-padding: 0 20px; --app-header-bg-color: linear-gradient(90deg, #ebf1ff 24.34%, #e5fbf8 56.18%, #f2ebfe 90.18%); --app-logo-color: linear-gradient(180deg, #3370ff 0%, #7f3bf5 100%); - --app-avatar-gradient-color: linear-gradient(270deg, #9258F7 0%, #3370FF 100%); + --app-avatar-gradient-color: linear-gradient(270deg, #9258f7 0%, #3370ff 100%); // 计算高度 --app-main-height: calc(100vh - var(--app-header-height) - var(--app-view-padding) * 2 - 40px); @@ -34,7 +34,5 @@ --setting-left-width: 280px; /** dataset */ - --create-dataset-height: calc( - 100vh - var(--app-header-height) - var(--app-view-padding) * 2 - 70px - ); + --create-dataset-height: calc(var(--app-main-height) - 70px); } diff --git a/ui/src/views/application/CreateApplication.vue b/ui/src/views/application/CreateApplication.vue index 9ef7e8052..9e7c7cbaa 100644 --- a/ui/src/views/application/CreateApplication.vue +++ b/ui/src/views/application/CreateApplication.vue @@ -4,7 +4,9 @@

调试预览

- +
+ +
@@ -12,4 +14,8 @@ - + diff --git a/ui/src/views/dataset/component/ParagraphPreview.vue b/ui/src/views/dataset/component/ParagraphPreview.vue index a60c40303..988358e33 100644 --- a/ui/src/views/dataset/component/ParagraphPreview.vue +++ b/ui/src/views/dataset/component/ParagraphPreview.vue @@ -135,6 +135,6 @@ onMounted(() => {}) } } .paragraph-list { - height: calc(var(--create-dataset-height) - 125px); + height: calc(var(--create-dataset-height) - 95px); } diff --git a/ui/src/views/dataset/step/StepSecond.vue b/ui/src/views/dataset/step/StepSecond.vue index b9e9b1f8d..0cab87a22 100644 --- a/ui/src/views/dataset/step/StepSecond.vue +++ b/ui/src/views/dataset/step/StepSecond.vue @@ -1,6 +1,6 @@