/* Removed negative left positioning that was causing misalignment */ /* Force xterm.js to have no padding or margin */ .xterm { padding: 0 !important; margin: 0 !important; width: 100% !important; height: 100% !important; } .xterm-viewport { padding: 0 !important; margin: 0 !important; width: 100% !important; } .xterm-screen { padding: 0 !important; margin: 0 !important; width: 100% !important; } .xterm-rows { padding: 0 !important; margin: 0 !important; } .xterm-helpers { padding: 0 !important; margin: 0 !important; } /* Target the canvas element */ .xterm canvas { padding: 0 !important; margin: 0 !important; } /* Ensure all text layers have no padding */ .xterm-cursor-layer, .xterm-text-layer, .xterm-selection-layer, .xterm-link-layer { padding: 0 !important; margin: 0 !important; } /* Ensure terminal container has no padding */ [class*="terminal-container"] { padding: 0 !important; margin: 0 !important; overflow: hidden !important; } /* Hide scrollbar */ .xterm .xterm-viewport::-webkit-scrollbar { width: 0px !important; }