mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
limit size of newstate on line
This commit is contained in:
parent
1be2716f6e
commit
86436d050e
@ -717,7 +717,7 @@ class LineCmd extends React.Component<
|
||||
<div className="cmd-rtnstate-label">new state</div>
|
||||
<div className="cmd-rtnstate-sep"></div>
|
||||
<div className="cmd-rtnstate-diff" style={{ fontSize: rtnStateDiffSize }}>
|
||||
{this.rtnStateDiff.get()}
|
||||
<div className="cmd-rtnstate-diff-inner">{this.rtnStateDiff.get()}</div>
|
||||
</div>
|
||||
</If>
|
||||
</div>
|
||||
|
@ -146,9 +146,18 @@
|
||||
font-family: @terminal-font;
|
||||
color: @term-white;
|
||||
white-space: pre;
|
||||
margin-left: 20px;
|
||||
margin-left: 10px;
|
||||
padding-left: 10px;
|
||||
padding-bottom: 1px;
|
||||
font-size: 11px;
|
||||
line-height: 1.2;
|
||||
max-height: 50px;
|
||||
overflow-y: auto;
|
||||
direction: rtl;
|
||||
|
||||
.cmd-rtnstate-diff-inner {
|
||||
direction: ltr;
|
||||
}
|
||||
}
|
||||
|
||||
.cmd-rtnstate-sep {
|
||||
|
Loading…
Reference in New Issue
Block a user