Skip to content

Commit

Permalink
fix: 修复部署面板内容多时无法滚动的问题;
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow committed Aug 7, 2021
1 parent f5b039f commit 0cf8d83
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions packages/devops-admin/src/views/deploy/components/deploy-panel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
title="部署面板"
:visible="visible"
direction="rtl"
size="30%"
size="50%"
:destroy-on-close="true"
:show-close="true"
:wrapper-closable="true"
Expand Down Expand Up @@ -34,7 +34,7 @@
</el-form-item>
<el-form-item v-if="triggers && triggers.length" label="部署触发器" size="normal">
<el-tag v-for="tri in triggers" :key="tri._id" type="default" size="mini" style="margin-right: 10px;">
{{ tri.name }} - {{ tri.event }}
{{ tri.name }} - {{ tri.event || 'timer'}}
</el-tag>
</el-form-item>
<el-form-item label="部署说明" prop="comment">
Expand Down Expand Up @@ -180,7 +180,13 @@ export default {
</script>
<style scoped>
.deploy-comp {
.deploy-comp .panel {
padding-top: 10px;
width: 100%;
height: calc(90vh);
padding-bottom: 20px;
overflow-y: scroll;
overflow-x: hidden;
}
</style>

0 comments on commit 0cf8d83

Please sign in to comment.