mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
remove collapsed feature for now, fix some small issues
This commit is contained in:
+1
-1
@@ -721,7 +721,7 @@ class LineCmd extends React.Component<{sw : ScreenWindow, line : LineType, width
|
||||
<div key="focus" className={cn("focus-indicator", {"selected": isSelected}, {"active": isSelected && isFocused}, {"fg-focus": isFgFocused})}/>
|
||||
<div key="header" className="line-header">
|
||||
<LineAvatar line={line} cmd={cmd}/>
|
||||
<div key="collapsed" className="collapsed-indicator" title={isCollapsed ? "output collapsed, click to show" : "click to hide output" } onClick={this.handleCollapsedClick}>
|
||||
<div style={{display: "none"}} key="collapsed" className="collapsed-indicator" title={isCollapsed ? "output collapsed, click to show" : "click to hide output" } onClick={this.handleCollapsedClick}>
|
||||
<If condition={isCollapsed}><i className="fa fa-caret-right"/></If>
|
||||
<If condition={!isCollapsed}><i className="fa fa-caret-down"/></If>
|
||||
</div>
|
||||
|
||||
+5
-1
@@ -439,7 +439,7 @@ html, body, #main {
|
||||
|
||||
.avatar {
|
||||
cursor: pointer;
|
||||
margin-right: 0;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.line-header {
|
||||
@@ -454,6 +454,10 @@ html, body, #main {
|
||||
}
|
||||
}
|
||||
|
||||
.meta.meta-line1 {
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
.line-star {
|
||||
display: none;
|
||||
cursor: pointer;
|
||||
|
||||
+5
-3
@@ -252,9 +252,11 @@ class TermWrap {
|
||||
this.receiveData(this.dataUpdates[i].pos, this.dataUpdates[i].data, "reload-update-" + i);
|
||||
}
|
||||
this.dataUpdates = [];
|
||||
this.terminal.write(new Uint8Array(), () => {
|
||||
this.updateUsedRows(true, "reload");
|
||||
});
|
||||
if (this.terminal != null) {
|
||||
this.terminal.write(new Uint8Array(), () => {
|
||||
this.updateUsedRows(true, "reload");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
reload(delayMs : number) {
|
||||
|
||||
Reference in New Issue
Block a user