mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-17 11:49:33 +01:00
Merge pull request #711: fix(mobile): hold the PTY rows while the on-screen keyboard is up
This commit is contained in:
commit
98526527c8
26 files changed
+1227
-15
No files matched your search
@@ -23250,3 +23250,12 @@ html[data-header-stats='tiles'] .header-plan-usage:not(:has(.pu-row)) {
|
||||
border: 1px solid var(--control-border);
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
/* Rows held under the on-screen keyboard (keyboardHoldsRows; keyboardClipPx in
|
||||
constants.js): the screen stays taller than its box and is scrolled up by
|
||||
--kb-clip, set on #terminalContainer by _applyKeyboardClip (terminal-ui.js).
|
||||
The helper textarea, IME preview, link layer and both echo overlays live
|
||||
inside .xterm-screen, so they move with it, and every hit test reads rects. */
|
||||
body.keyboard-visible .terminal-container .xterm-screen {
|
||||
transform: translateY(calc(-1 * var(--kb-clip, 0px)));
|
||||
}
|
||||
Reference in new issue
Block a user