Skip to content

Commit 9de5258

Browse files
committed
fix broken full screen terminal height on Desktop
1 parent afdd974 commit 9de5258

13 files changed

+36
-35
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.39.3
2+
### Bugfix
3+
* fix broken full screen terminal height on Desktop
4+
15
## 2.39.2
26
### Bugfix
37
* fix when CSS is loaded after creation of the terminal (mostly for ReactJS)

css/jquery.terminal-2.39.2.css

+3-4
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
* __ / // // // // // _ // _// // / / // _ // _// // // \/ // _ \/ /
55
* / / // // // // // ___// / / // / / // ___// / / / / // // /\ // // / /__
66
* \___//____ \\___//____//_/ _\_ / /_//____//_/ /_/ /_//_//_/ /_/ \__\_\___/
7-
* \/ /____/ version DEV
7+
* \/ /____/ version 2.39.2
88
* http://terminal.jcubic.pl
99
*
1010
* This file is part of jQuery Terminal.
1111
*
1212
* Copyright (c) 2011-2023 Jakub T. Jankiewicz <https://jcubic.pl/me>
1313
* Released under the MIT license
1414
*
15-
* Date: Wed, 20 Mar 2024 22:25:10 +0000
15+
* Date: Wed, 20 Mar 2024 22:50:22 +0000
1616
*/
1717
.terminal .terminal-output .format, .cmd .format,
1818
.cmd-prompt, .cmd-prompt div {
@@ -103,8 +103,7 @@ body.full-screen-terminal .terminal {
103103
}
104104
body.full-screen-terminal {
105105
height: 100%;
106-
height: 100dvh;
107-
height: calc(var(--terminal-force-height) * 1px);
106+
height: var(--terminal-force-height, 100dvh);
108107
}
109108
.terminal > div.terminal-fill {
110109
min-height: 100%;

css/jquery.terminal-2.39.2.min.css

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/jquery.terminal-src.css

+1-2
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ body.full-screen-terminal .terminal {
103103
}
104104
body.full-screen-terminal {
105105
height: 100%;
106-
height: 100dvh;
107-
height: calc(var(--terminal-force-height) * 1px);
106+
height: var(--terminal-force-height, 100dvh);
108107
}
109108
.terminal > div.terminal-fill {
110109
min-height: 100%;

css/jquery.terminal.css

+3-4
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
* __ / // // // // // _ // _// // / / // _ // _// // // \/ // _ \/ /
55
* / / // // // // // ___// / / // / / // ___// / / / / // // /\ // // / /__
66
* \___//____ \\___//____//_/ _\_ / /_//____//_/ /_/ /_//_//_/ /_/ \__\_\___/
7-
* \/ /____/ version DEV
7+
* \/ /____/ version 2.39.2
88
* http://terminal.jcubic.pl
99
*
1010
* This file is part of jQuery Terminal.
1111
*
1212
* Copyright (c) 2011-2023 Jakub T. Jankiewicz <https://jcubic.pl/me>
1313
* Released under the MIT license
1414
*
15-
* Date: Wed, 20 Mar 2024 22:25:10 +0000
15+
* Date: Wed, 20 Mar 2024 22:50:22 +0000
1616
*/
1717
.terminal .terminal-output .format, .cmd .format,
1818
.cmd-prompt, .cmd-prompt div {
@@ -103,8 +103,7 @@ body.full-screen-terminal .terminal {
103103
}
104104
body.full-screen-terminal {
105105
height: 100%;
106-
height: 100dvh;
107-
height: calc(var(--terminal-force-height) * 1px);
106+
height: var(--terminal-force-height, 100dvh);
108107
}
109108
.terminal > div.terminal-fill {
110109
min-height: 100%;

css/jquery.terminal.min.css

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/jquery.terminal.min.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/jquery.terminal-2.39.2.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* __ / // // // // // _ // _// // / / // _ // _// // // \/ // _ \/ /
55
* / / // // // // // ___// / / // / / // ___// / / / / // // /\ // // / /__
66
* \___//____ \\___//____//_/ _\_ / /_//____//_/ /_/ /_//_//_/ /_/ \__\_\___/
7-
* \/ /____/ version DEV
7+
* \/ /____/ version 2.39.2
88
*
99
* This file is part of jQuery Terminal. https://terminal.jcubic.pl
1010
*
@@ -41,7 +41,7 @@
4141
*
4242
* broken image by Sophia Bai from the Noun Project (CC-BY)
4343
*
44-
* Date: Wed, 20 Mar 2024 22:25:10 +0000
44+
* Date: Wed, 20 Mar 2024 22:50:21 +0000
4545
*/
4646
/* global define, Map, BigInt */
4747
/* eslint-disable */
@@ -5304,8 +5304,8 @@
53045304
}
53055305
// -------------------------------------------------------------------------
53065306
$.terminal = {
5307-
version: 'DEV',
5308-
date: 'Wed, 20 Mar 2024 22:25:10 +0000',
5307+
version: '2.39.2',
5308+
date: 'Wed, 20 Mar 2024 22:50:21 +0000',
53095309
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
53105310
color_names: [
53115311
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
@@ -12060,7 +12060,7 @@
1206012060
if ('visualViewport' in window) {
1206112061
on_height_change(function(height) {
1206212062
css(document.documentElement, {
12063-
'--terminal-force-height': height
12063+
'--terminal-force-height': height + 'px'
1206412064
});
1206512065
});
1206612066
}

js/jquery.terminal-2.39.2.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/jquery.terminal-src.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12060,7 +12060,7 @@
1206012060
if ('visualViewport' in window) {
1206112061
on_height_change(function(height) {
1206212062
css(document.documentElement, {
12063-
'--terminal-force-height': height
12063+
'--terminal-force-height': height + 'px'
1206412064
});
1206512065
});
1206612066
}

js/jquery.terminal.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* __ / // // // // // _ // _// // / / // _ // _// // // \/ // _ \/ /
55
* / / // // // // // ___// / / // / / // ___// / / / / // // /\ // // / /__
66
* \___//____ \\___//____//_/ _\_ / /_//____//_/ /_/ /_//_//_/ /_/ \__\_\___/
7-
* \/ /____/ version DEV
7+
* \/ /____/ version 2.39.2
88
*
99
* This file is part of jQuery Terminal. https://terminal.jcubic.pl
1010
*
@@ -41,7 +41,7 @@
4141
*
4242
* broken image by Sophia Bai from the Noun Project (CC-BY)
4343
*
44-
* Date: Wed, 20 Mar 2024 22:25:10 +0000
44+
* Date: Wed, 20 Mar 2024 22:50:21 +0000
4545
*/
4646
/* global define, Map, BigInt */
4747
/* eslint-disable */
@@ -5304,8 +5304,8 @@
53045304
}
53055305
// -------------------------------------------------------------------------
53065306
$.terminal = {
5307-
version: 'DEV',
5308-
date: 'Wed, 20 Mar 2024 22:25:10 +0000',
5307+
version: '2.39.2',
5308+
date: 'Wed, 20 Mar 2024 22:50:21 +0000',
53095309
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
53105310
color_names: [
53115311
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
@@ -12060,7 +12060,7 @@
1206012060
if ('visualViewport' in window) {
1206112061
on_height_change(function(height) {
1206212062
css(document.documentElement, {
12063-
'--terminal-force-height': height
12063+
'--terminal-force-height': height + 'px'
1206412064
});
1206512065
});
1206612066
}

js/jquery.terminal.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/jquery.terminal.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)