Add one to the padding in settings dialog to avoid flicker. (#15173)

This commit is contained in:
Jacob Richman
2025-12-17 08:53:51 -08:00
committed by GitHub
parent 7f2d33458a
commit da85aed5aa

View File

@@ -447,7 +447,7 @@ export function SettingsDialog({
};
// Height constraint calculations similar to ThemeDialog
const DIALOG_PADDING = 4;
const DIALOG_PADDING = 5;
const SETTINGS_TITLE_HEIGHT = 2; // "Settings" title + spacing
const SCROLL_ARROWS_HEIGHT = 2; // Up and down arrows
const SPACING_HEIGHT = 1; // Space between settings list and scope