Skip to content

Commit

Permalink
#502 作业日志查看优化
Browse files Browse the repository at this point in the history
  • Loading branch information
allen8203 committed Sep 17, 2018
1 parent 698ce55 commit 074ba71
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions saturn-console-web/src/components/common/viewContentDialog.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<template>
<el-dialog :title="title" :visible.sync="isVisible" :before-close="closeDialog">
<fieldset class="fieldset-border">
<div class="view-content">
<pre>{{content}}</pre>
</div>
</fieldset>
<el-dialog :title="title" :visible.sync="isVisible" :before-close="closeDialog" custom-class="view-content">
<div class="view-content-body">
<pre>{{content}}</pre>
</div>
</el-dialog>
</template>

Expand All @@ -23,12 +21,14 @@ export default {
},
};
</script>
<style lang="sass" scoped>
.fieldset-border {
border: 1px solid #ccc;
}
<style lang="sass">
.view-content {
height: 350px;
overflow-y: auto;
.el-dialog__body {
padding: 0px;
}
.view-content-body {
height: 350px;
overflow-y: auto;
}
}
</style>

0 comments on commit 074ba71

Please sign in to comment.