fix: 修复 term 组件上的按钮被覆盖的问题

This commit is contained in:
Aaron3S
2023-02-27 18:05:24 +08:00
committed by Jiangjie.Bai
parent 8685362344
commit 69ff6be5f4

View File

@@ -55,14 +55,14 @@ export default {
toolbar: [ toolbar: [
{ {
tip: this.$tc('ops.ScrollToTop'), tip: this.$tc('ops.ScrollToTop'),
icon: 'fa fa-upload', icon: 'fa fa-arrow-up',
callback: () => { callback: () => {
this.xterm.scrollToTop() this.xterm.scrollToTop()
} }
}, },
{ {
tip: this.$tc('ops.ScrollToBottom'), tip: this.$tc('ops.ScrollToBottom'),
icon: 'fa fa-download', icon: 'fa fa-arrow-down',
callback: () => { callback: () => {
this.xterm.scrollToBottom() this.xterm.scrollToBottom()
} }
@@ -108,10 +108,10 @@ export default {
} }
.actions { .actions {
position: absolute; text-align: right;
right: 4px; background-color: #FFF;
z-index: 5; padding-right: 5px;
margin-top: 4px; padding-top: 2px
} }
.el-button { .el-button {