fix: remove terminal emulator padding

This commit is contained in:
mesalogo
2026-09-07 18:08:52 +08:00
parent 19086d656e
commit 86daae8be2
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -213,6 +213,12 @@ describe('TerminalPanel', () => {
)
})
it('renders the terminal emulator without inner spacing', () => {
expect(terminalStylesheet).toMatch(
/\.terminal-panel__emulator\s*\{[^}]*padding:\s*0;/u
)
})
it('creates only after the first valid fitted size and forwards input', async () => {
const backend = adapterHarness()
const emulator = emulatorHarness()
+1 -1
View File
@@ -114,7 +114,7 @@
min-width: 0;
min-height: 0;
flex: 1;
padding: var(--space-2);
padding: 0;
overflow: hidden;
background: var(--surface-canvas);
}