@electerm/electerm-react 5.1.21 → 5.1.23
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.
|
@@ -116,6 +116,9 @@ export default auto(function Index (props) {
|
|
|
116
116
|
'not-win': !isWin,
|
|
117
117
|
'qm-pinned': pinnedQuickCommandBar,
|
|
118
118
|
fullscreen,
|
|
119
|
+
// terminal fullscreen keeps the footer visible (rdp/vnc/spice fullscreen
|
|
120
|
+
// does not — the footer would be an empty bar there)
|
|
121
|
+
'fs-with-footer': fullscreen && store.inActiveTerminal,
|
|
119
122
|
'is-main': !isSecondInstance,
|
|
120
123
|
'is-mobile': store.isMobile,
|
|
121
124
|
'is-desktop': !store.isMobile
|
|
@@ -36,15 +36,27 @@
|
|
|
36
36
|
right 10px !important
|
|
37
37
|
bottom 10px !important
|
|
38
38
|
|
|
39
|
-
//
|
|
40
|
-
//
|
|
41
|
-
//
|
|
42
|
-
//
|
|
43
|
-
//
|
|
44
|
-
|
|
45
|
-
.
|
|
39
|
+
// Terminal fullscreen keeps the footer (and the quick-command popup above it)
|
|
40
|
+
// visible; the session shrinks to sit on top of the footer. RDP/VNC/Spice
|
|
41
|
+
// fullscreen stays footer-less — inActiveTerminal is false for those tabs, so
|
|
42
|
+
// the fs-with-footer class is absent there.
|
|
43
|
+
// 36px matches footerHeight / the .main-footer height in footer.styl.
|
|
44
|
+
.fullscreen.fs-with-footer
|
|
45
|
+
.main-footer
|
|
46
|
+
display block
|
|
47
|
+
left 0 !important
|
|
48
|
+
.qm-wrap-tooltip
|
|
49
|
+
display block
|
|
50
|
+
left 0 !important
|
|
51
|
+
// sidebar is hidden in fullscreen; hide the footer control that opens it
|
|
52
|
+
.terminal-footer-show-sidebar
|
|
53
|
+
display none
|
|
54
|
+
.session-wrap.session-current
|
|
55
|
+
.term-wrap
|
|
56
|
+
height calc(100% - 36px - var(--shortcut-bar-h, 0px)) !important
|
|
57
|
+
// pinned quick-command bar (180px, same as quickCommandBoxHeight) sits
|
|
58
|
+
// between terminal and footer — reserve its space too
|
|
59
|
+
&.qm-pinned
|
|
46
60
|
.session-wrap.session-current
|
|
47
|
-
bottom var(--shortcut-bar-h, 44px) !important
|
|
48
|
-
height auto !important
|
|
49
61
|
.term-wrap
|
|
50
|
-
height calc(100% - var(--shortcut-bar-h,
|
|
62
|
+
height calc(100% - 36px - 180px - var(--shortcut-bar-h, 0px)) !important
|