limit size of newstate on line

This commit is contained in:
sawka 2023-11-07 23:58:54 -08:00
parent 1be2716f6e
commit 86436d050e
2 changed files with 11 additions and 2 deletions

View File

@ -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>

View File

@ -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 {