Skip to content

fix: apply theme background colour to xterm-viewport element#5782

Open
lorumic wants to merge 1 commit intoxtermjs:masterfrom
lorumic:fix-viewport-colour
Open

fix: apply theme background colour to xterm-viewport element#5782
lorumic wants to merge 1 commit intoxtermjs:masterfrom
lorumic:fix-viewport-colour

Conversation

@lorumic
Copy link
Copy Markdown

@lorumic lorumic commented Mar 25, 2026

The fix in this PR applies the background colour from the theme options also to the .xterm-viewport element, so that if the size of its .xterm-scrollable-element child is smaller for any reason, we don't end up with a mismatching background-color between the two elements.

Fixes #5781

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Background colour from options.theme is applied to wrong container element

1 participant