summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/ThemeDialog.tsx
diff options
context:
space:
mode:
authorPrincipal-Ideal <[email protected]>2025-07-09 05:46:55 +0000
committerGitHub <[email protected]>2025-07-09 05:46:55 +0000
commit4d882d9b5857757aebb2c7b7a34e5e2df8cba5ad (patch)
tree6930be3f7e017262dc2841ce0b6844cbef872e22 /packages/cli/src/ui/components/ThemeDialog.tsx
parent5a50958f28da84c35c003e99663d1d2c888a7c60 (diff)
chore: fix typo (#3570)
Diffstat (limited to 'packages/cli/src/ui/components/ThemeDialog.tsx')
-rw-r--r--packages/cli/src/ui/components/ThemeDialog.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/cli/src/ui/components/ThemeDialog.tsx b/packages/cli/src/ui/components/ThemeDialog.tsx
index 179e1ba4..9351d5a1 100644
--- a/packages/cli/src/ui/components/ThemeDialog.tsx
+++ b/packages/cli/src/ui/components/ThemeDialog.tsx
@@ -115,7 +115,7 @@ export function ThemeDialog({
1,
);
- const DAILOG_PADDING = 2;
+ const DIALOG_PADDING = 2;
const selectThemeHeight = themeItems.length + 1;
const SCOPE_SELECTION_HEIGHT = 4; // Height for the scope selection section + margin.
const SPACE_BETWEEN_THEME_SELECTION_AND_APPLY_TO = 1;
@@ -125,7 +125,7 @@ export function ThemeDialog({
availableTerminalHeight -= TAB_TO_SELECT_HEIGHT;
let totalLeftHandSideHeight =
- DAILOG_PADDING +
+ DIALOG_PADDING +
selectThemeHeight +
SCOPE_SELECTION_HEIGHT +
SPACE_BETWEEN_THEME_SELECTION_AND_APPLY_TO;
@@ -136,7 +136,7 @@ export function ThemeDialog({
// Remove content from the LHS that can be omitted if it exceeds the available height.
if (totalLeftHandSideHeight > availableTerminalHeight) {
includePadding = false;
- totalLeftHandSideHeight -= DAILOG_PADDING;
+ totalLeftHandSideHeight -= DIALOG_PADDING;
}
if (totalLeftHandSideHeight > availableTerminalHeight) {