Skip to content

Commit

Permalink
correction to line-height #744
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Mar 27, 2022
1 parent 09e8597 commit 44df273
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 11 deletions.
5 changes: 3 additions & 2 deletions css/jquery.terminal-2.32.1.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Copyright (c) 2011-2021 Jakub Jankiewicz <https://jcubic.pl/me>
* Released under the MIT license
*
* Date: Sat, 26 Mar 2022 16:10:26 +0000
* Date: Sun, 27 Mar 2022 14:16:26 +0000
*/

.terminal .terminal-output .format, .cmd .format,
Expand Down Expand Up @@ -238,7 +238,8 @@ body.full-screen-terminal .terminal {
.terminal .terminal-output > :not(.raw) > div,
.cmd div,
.terminal.external div {
line-height: calc((var(--size) * (14px / var(--pixel-density, 1))) + 1px);
line-height: 1em;
line-height: calc((var(--size) * (14px / var(--pixel-density, 1))) + (1px / var(--pixel-density, 1)));
}
.cmd .cmd-prompt span.fa::before,
.cmd .cmd-prompt span.fab::before,
Expand Down
4 changes: 2 additions & 2 deletions css/jquery.terminal-2.32.1.min.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion css/jquery.terminal-src.css
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,8 @@ body.full-screen-terminal .terminal {
.terminal .terminal-output > :not(.raw) > div,
.cmd div,
.terminal.external div {
line-height: calc((var(--size) * (14px / var(--pixel-density, 1))) + 1px);
line-height: 1em;
line-height: calc((var(--size) * (14px / var(--pixel-density, 1))) + (1px / var(--pixel-density, 1)));
}
.cmd .cmd-prompt span.fa::before,
.cmd .cmd-prompt span.fab::before,
Expand Down
7 changes: 4 additions & 3 deletions css/jquery.terminal.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Copyright (c) 2011-2021 Jakub Jankiewicz <https://jcubic.pl/me>
* Released under the MIT license
*
* Date: Sat, 26 Mar 2022 16:10:26 +0000
* Date: Sun, 27 Mar 2022 14:16:26 +0000
*/

.terminal .terminal-output .format, .cmd .format,
Expand Down Expand Up @@ -238,7 +238,8 @@ body.full-screen-terminal .terminal {
.terminal .terminal-output > :not(.raw) > div,
.cmd div,
.terminal.external div {
line-height: calc((var(--size) * (14px / var(--pixel-density, 1))) + 1px);
line-height: 1em;
line-height: calc((var(--size) * (14px / var(--pixel-density, 1))) + (1px / var(--pixel-density, 1)));
}
.cmd .cmd-prompt span.fa::before,
.cmd .cmd-prompt span.fab::before,
Expand Down Expand Up @@ -1035,7 +1036,7 @@ terminal .terminal-output > div {
bottom: 0;
left: 0;
right: 0;
z-index: -1;
z-index: 200;
}
.terminal-less {
touch-action: none;
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 44df273

Please sign in to comment.