From 87bf58a51c8aad32ddbb272ca3aece2efb12dcf1 Mon Sep 17 00:00:00 2001 From: teukkk Date: Tue, 23 Apr 2024 19:02:21 +0800 Subject: [PATCH] =?UTF-8?q?style(=E7=BC=BA=E9=99=B7=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=AB=98=E5=BA=A6=E9=97=AE=E9=A2=98&?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1039553 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001039553 --- frontend/src/views/api-test/report/locale/en-US.ts | 2 +- frontend/src/views/api-test/report/locale/zh-CN.ts | 2 +- .../bug-management/components/bug-detail-drawer.vue | 5 +++-- .../views/bug-management/components/bugCaseTab.vue | 2 +- .../components/caseDetailDrawer.vue | 13 ++++++++++--- 5 files changed, 16 insertions(+), 8 deletions(-) diff --git a/frontend/src/views/api-test/report/locale/en-US.ts b/frontend/src/views/api-test/report/locale/en-US.ts index 3d59c0c201..6eb0a4bb67 100644 --- a/frontend/src/views/api-test/report/locale/en-US.ts +++ b/frontend/src/views/api-test/report/locale/en-US.ts @@ -19,7 +19,7 @@ export default { 'report.status.pending': 'Pending', 'report.stopped': 'Stopped', 'report.trigger.scheduled': 'Schedule', - 'report.trigger.manual': 'Manual', + 'report.trigger.manual': 'Manual execution', 'report.trigger.interface': 'API', 'report.trigger.batch.execution': 'Batch', 'report.delete.tip': 'Are you sure you want to delete {count} selected reports?', diff --git a/frontend/src/views/api-test/report/locale/zh-CN.ts b/frontend/src/views/api-test/report/locale/zh-CN.ts index 0f045576e4..df45e8ea6f 100644 --- a/frontend/src/views/api-test/report/locale/zh-CN.ts +++ b/frontend/src/views/api-test/report/locale/zh-CN.ts @@ -19,7 +19,7 @@ export default { 'report.status.pending': '未执行', 'report.stopped': '停止', 'report.trigger.scheduled': '定时执行', - 'report.trigger.manual': '手工执行', + 'report.trigger.manual': '手动执行', 'report.trigger.interface': 'API 执行', 'report.trigger.batch.execution': '批量执行', 'report.delete.tip': '确认删除已选中的 {count} 个报告吗?', diff --git a/frontend/src/views/bug-management/components/bug-detail-drawer.vue b/frontend/src/views/bug-management/components/bug-detail-drawer.vue index d979d8f64d..52d2defd83 100644 --- a/frontend/src/views/bug-management/components/bug-detail-drawer.vue +++ b/frontend/src/views/bug-management/components/bug-detail-drawer.vue @@ -96,9 +96,9 @@ :class="[ `${ activeTab === 'comment' && hasAnyPermission(['PROJECT_BUG:READ+COMMENT']) && !commentInputIsActive - ? 'h-[calc(100%-118px)]' + ? 'h-[calc(100%-72px)]' : commentInputIsActive - ? 'h-[calc(100%-338px)]' + ? 'h-[calc(100%-286px)]' : 'h-full' }`, 'bg-white', @@ -118,6 +118,7 @@ :max="0.7" :min="0.6" direction="horizontal" + class="!h-[calc(100%-48px)]" :class="{ 'left-bug-detail': activeTab === 'comment' }" >