1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 16:29:17 +08:00

feat: 优化终端搜索样式及回滚条数显示 (#3363)

Refs #3330
This commit is contained in:
ssongliu 2023-12-18 11:40:13 +08:00 committed by GitHub
parent 3dc829a630
commit 0a4e48c057
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -56,7 +56,8 @@ const newTerm = () => {
}, },
cursorBlink: true, cursorBlink: true,
cursorStyle: 'underline', cursorStyle: 'underline',
scrollback: 100, scrollback: 1000,
scrollSensitivity: 15,
tabStopWidth: 4, tabStopWidth: 4,
}); });
}; };

View File

@ -44,7 +44,7 @@
</span> </span>
</template> </template>
<Terminal <Terminal
style="height: calc(100vh - 227px); background-color: #000" style="height: calc(100vh - 229px); background-color: #000"
:ref="'t-' + item.index" :ref="'t-' + item.index"
:key="item.Refresh" :key="item.Refresh"
></Terminal> ></Terminal>
@ -82,7 +82,7 @@
<div class="search-button" style="float: none"> <div class="search-button" style="float: none">
<el-input <el-input
v-model="hostFilterInfo" v-model="hostFilterInfo"
style="margin-top: 5px" style="margin-top: 5px; width: 90%"
clearable clearable
suffix-icon="Search" suffix-icon="Search"
:placeholder="$t('commons.button.search')" :placeholder="$t('commons.button.search')"