termites 1.0.26 → 1.0.27

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "termites",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "description": "Web terminal with server-client architecture for remote shell access",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server.js CHANGED
@@ -590,8 +590,9 @@ class TermitesServer {
590
590
  .header-title .host { color: var(--host-color, #859900); }
591
591
  .header-title .sep { color: var(--sep-color, #657b83); }
592
592
  .no-client { color: #888; font-style: italic; }
593
- #terminal-container { flex: 1; padding: 4px; transition: background 0.3s; overflow: hidden; min-height: 0; position: relative; }
593
+ #terminal-container { flex: 1; padding: 4px; transition: background 0.3s; min-height: 0; position: relative; overflow: auto; -webkit-overflow-scrolling: touch; }
594
594
  .xterm { height: 100%; }
595
+ .xterm-viewport { overflow-y: auto !important; -webkit-overflow-scrolling: touch; }
595
596
  .overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 99; opacity: 0; visibility: hidden; transition: all 0.3s; }
596
597
  .overlay.open { opacity: 1; visibility: visible; }
597
598
  .drawer {