mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-19 17:54:37 +00:00
perf: 优化快捷命令输出框跟随浏览器高度
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
<span>{{ executionInfo.timeCost.toFixed(2) }}</span>
|
<span>{{ executionInfo.timeCost.toFixed(2) }}</span>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
<div style="padding-left: 30px; background-color: rgb(247 247 247)">
|
<div class="xterm-container">
|
||||||
<Term
|
<Term
|
||||||
ref="xterm"
|
ref="xterm"
|
||||||
:show-tool-bar="true"
|
:show-tool-bar="true"
|
||||||
@@ -442,6 +442,19 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.xterm-container {
|
||||||
|
padding-left: 30px;
|
||||||
|
background-color: rgb(247, 247, 247);
|
||||||
|
height: calc(100vh - 549px);
|
||||||
|
overflow: hidden;
|
||||||
|
& > div {
|
||||||
|
height: 100%;
|
||||||
|
&>>> .xterm {
|
||||||
|
height: calc(100% - 8px);
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.mini-button {
|
.mini-button {
|
||||||
width: 12px;
|
width: 12px;
|
||||||
float: right;
|
float: right;
|
||||||
|
Reference in New Issue
Block a user