mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-25 04:24:51 -07:00
Re-land bbiggs changes to reduce margin on narrow screens with fixes + full width setting (#10522)
This commit is contained in:
@@ -17,7 +17,7 @@ export const DefaultAppLayout: React.FC = () => {
|
||||
const uiState = useUIState();
|
||||
|
||||
return (
|
||||
<Box flexDirection="column" width="90%">
|
||||
<Box flexDirection="column" width={uiState.mainAreaWidth}>
|
||||
<MainContent />
|
||||
|
||||
<Box flexDirection="column" ref={uiState.mainControlsRef}>
|
||||
@@ -25,7 +25,7 @@ export const DefaultAppLayout: React.FC = () => {
|
||||
|
||||
{uiState.dialogsVisible ? (
|
||||
<DialogManager
|
||||
terminalWidth={uiState.terminalWidth}
|
||||
terminalWidth={uiState.mainAreaWidth}
|
||||
addItem={uiState.historyManager.addItem}
|
||||
/>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user