fix: remove terminal emulator padding
This commit is contained in:
@@ -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 () => {
|
it('creates only after the first valid fitted size and forwards input', async () => {
|
||||||
const backend = adapterHarness()
|
const backend = adapterHarness()
|
||||||
const emulator = emulatorHarness()
|
const emulator = emulatorHarness()
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
min-width: 0;
|
min-width: 0;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
padding: var(--space-2);
|
padding: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: var(--surface-canvas);
|
background: var(--surface-canvas);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user