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