From 6cf0ae80f97f00ee497a823772d4e94eecdc0114 Mon Sep 17 00:00:00 2001 From: terlinhe Date: Fri, 7 May 2021 13:13:07 +0800 Subject: [PATCH] feat: finally stage issue #3138 --- src/frontend/devops-pipeline/src/components/Pipeline.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/frontend/devops-pipeline/src/components/Pipeline.vue b/src/frontend/devops-pipeline/src/components/Pipeline.vue index 61ddbddbed6..94c7d8b55fd 100755 --- a/src/frontend/devops-pipeline/src/components/Pipeline.vue +++ b/src/frontend/devops-pipeline/src/components/Pipeline.vue @@ -251,8 +251,7 @@ }) if (insertStageIsFinally) { const element = document.getElementsByClassName('bk-tab-section')[0] - console.log(element, element.scrollWidth) - element && (element.scrollLeft = element.scrollWidth) + element && (element.scrollLeft = element.scrollWidth + 300) } setInertStageIndex({ insertStageIndex: insertStageIndex + 1 @@ -310,7 +309,7 @@ flex: 1; overflow: auto; .scroll-wraper { - padding: 30px 0 40px 30px; + padding: 20px 0 40px 30px; min-height: 100%; } &:before {