@electerm/electerm-react 1.51.0 → 1.51.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -41,7 +41,7 @@ export default class CssOverwrite extends PureComponent {
|
|
|
41
41
|
st = `url(${terminalBackgroundImagePath}) !important`
|
|
42
42
|
}
|
|
43
43
|
if (!st) {
|
|
44
|
-
return `#container .session-batch-active .xterm-screen {
|
|
44
|
+
return `#container .session-batch-active .xterm-screen::before {
|
|
45
45
|
background-image: url("./images/electerm-watermark.png");
|
|
46
46
|
}`
|
|
47
47
|
}
|
|
@@ -65,7 +65,7 @@ export default class CssOverwrite extends PureComponent {
|
|
|
65
65
|
})`)
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
return `#container .session-batch-active .xterm-screen {
|
|
68
|
+
return `#container .session-batch-active .xterm-screen::before {
|
|
69
69
|
${styles.join(';')}
|
|
70
70
|
}`
|
|
71
71
|
}
|
|
@@ -200,8 +200,7 @@ export default class SessionWrapper extends Component {
|
|
|
200
200
|
tab,
|
|
201
201
|
width: this.props.width,
|
|
202
202
|
height: this.props.height,
|
|
203
|
-
reloadTab: this.props.reloadTab
|
|
204
|
-
currentBatchTabId: this.props.currentBatchTabId
|
|
203
|
+
reloadTab: this.props.reloadTab
|
|
205
204
|
}
|
|
206
205
|
return (
|
|
207
206
|
<WebSession
|
|
@@ -32,7 +32,13 @@
|
|
|
32
32
|
margin-left 5px
|
|
33
33
|
|
|
34
34
|
#container
|
|
35
|
-
.xterm-screen
|
|
35
|
+
.xterm-screen::before
|
|
36
|
+
content ''
|
|
37
|
+
position absolute
|
|
38
|
+
top 0
|
|
39
|
+
left 0
|
|
40
|
+
width 100%
|
|
41
|
+
height 100%
|
|
36
42
|
background-repeat no-repeat
|
|
37
43
|
background-position center
|
|
38
44
|
background-color: transparent !important
|