fix(cli): resolve post-rebase build errors in theme dialog and tests

This commit is contained in:
Dan Zaharia
2026-03-06 12:17:06 -05:00
parent 4bb9b31dbf
commit ad21b147b3
2 changed files with 5 additions and 7 deletions
@@ -281,10 +281,6 @@ export function ThemeDialog({
const codeBlockHeight = Math.ceil(availableHeightForPanes * 0.6);
const diffHeight = Math.floor(availableHeightForPanes * 0.4);
const previewTheme =
themeManager.getTheme(highlightedThemeName || DEFAULT_THEME.name) ||
DEFAULT_THEME;
return (
<Box
borderStyle="round"
@@ -425,7 +421,9 @@ def fibonacci(n):
return a`,
language: 'python',
availableHeight:
isAlternateBuffer === false ? codeBlockHeight : undefined,
isAlternateBuffer === false
? codeBlockHeight
: undefined,
maxWidth: colorizeCodeWidth,
settings,
theme: previewTheme,