Skip to content

Commit

Permalink
fix jumping of text when resizing long prompt #919
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Apr 9, 2024
1 parent 9c07162 commit 411c6f2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion css/jquery.terminal-src.css
Expand Up @@ -243,7 +243,7 @@ body.full-screen-terminal {
.cmd .cmd-prompt > span, .cmd .cmd-prompt > a, .cmd .cmd-prompt:empty {
float: left;
}
.cmd-prompt [data-text] > span {
.cmd-prompt [data-text] > span, .cmd-wrapper > div {
white-space: pre;
}
.cmd [data-text] span,
Expand Down
4 changes: 2 additions & 2 deletions css/jquery.terminal.css
Expand Up @@ -12,7 +12,7 @@
* Copyright (c) 2011-2023 Jakub T. Jankiewicz <https://jcubic.pl/me>
* Released under the MIT license
*
* Date: Tue, 09 Apr 2024 17:11:45 +0000
* Date: Tue, 09 Apr 2024 19:12:05 +0000
*/
.terminal .terminal-output .format, .cmd .format,
.cmd-prompt, .cmd-prompt div {
Expand Down Expand Up @@ -243,7 +243,7 @@ body.full-screen-terminal {
.cmd .cmd-prompt > span, .cmd .cmd-prompt > a, .cmd .cmd-prompt:empty {
float: left;
}
.cmd-prompt [data-text] > span {
.cmd-prompt [data-text] > span, .cmd-wrapper > div {
white-space: pre;
}
.cmd [data-text] span,
Expand Down
4 changes: 2 additions & 2 deletions css/jquery.terminal.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/jquery.terminal.min.css.map

Large diffs are not rendered by default.

0 comments on commit 411c6f2

Please sign in to comment.