mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-27 21:44:25 -07:00
Add one to the padding in settings dialog to avoid flicker. (#15173)
This commit is contained in:
@@ -447,7 +447,7 @@ export function SettingsDialog({
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Height constraint calculations similar to ThemeDialog
|
// Height constraint calculations similar to ThemeDialog
|
||||||
const DIALOG_PADDING = 4;
|
const DIALOG_PADDING = 5;
|
||||||
const SETTINGS_TITLE_HEIGHT = 2; // "Settings" title + spacing
|
const SETTINGS_TITLE_HEIGHT = 2; // "Settings" title + spacing
|
||||||
const SCROLL_ARROWS_HEIGHT = 2; // Up and down arrows
|
const SCROLL_ARROWS_HEIGHT = 2; // Up and down arrows
|
||||||
const SPACING_HEIGHT = 1; // Space between settings list and scope
|
const SPACING_HEIGHT = 1; // Space between settings list and scope
|
||||||
|
|||||||
Reference in New Issue
Block a user