mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-30 17:46:31 +00:00
Reduce margin on narrow screens, flow the footer contents (#8042)
This commit is contained in:
@@ -13,11 +13,13 @@ import { Composer } from '../components/Composer.js';
|
||||
import { ExitWarning } from '../components/ExitWarning.js';
|
||||
import { useUIState } from '../contexts/UIStateContext.js';
|
||||
|
||||
export const DefaultAppLayout: React.FC = () => {
|
||||
export const DefaultAppLayout: React.FC<{ width?: string }> = ({
|
||||
width = '90%',
|
||||
}) => {
|
||||
const uiState = useUIState();
|
||||
|
||||
return (
|
||||
<Box flexDirection="column" width="90%">
|
||||
<Box flexDirection="column" width={width}>
|
||||
<MainContent />
|
||||
|
||||
<Box flexDirection="column" ref={uiState.mainControlsRef}>
|
||||
|
||||
Reference in New Issue
Block a user