mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 22:21:22 -07:00
chore: remove extra top margin from /hooks and /extensions (#17663)
This commit is contained in:
@@ -22,7 +22,7 @@ export const ExtensionsList: React.FC<ExtensionsList> = ({ extensions }) => {
|
||||
}
|
||||
|
||||
return (
|
||||
<Box flexDirection="column" marginTop={1} marginBottom={1}>
|
||||
<Box flexDirection="column" marginBottom={1}>
|
||||
<Text>Installed extensions: </Text>
|
||||
<Box flexDirection="column" paddingLeft={2}>
|
||||
{extensions.map((ext) => {
|
||||
|
||||
@@ -28,10 +28,8 @@ interface HooksListProps {
|
||||
export const HooksList: React.FC<HooksListProps> = ({ hooks }) => {
|
||||
if (hooks.length === 0) {
|
||||
return (
|
||||
<Box flexDirection="column" marginTop={1} marginBottom={1}>
|
||||
<Box marginTop={1}>
|
||||
<Text>No hooks configured.</Text>
|
||||
</Box>
|
||||
<Box flexDirection="column" marginBottom={1}>
|
||||
<Text>No hooks configured.</Text>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
@@ -49,8 +47,8 @@ export const HooksList: React.FC<HooksListProps> = ({ hooks }) => {
|
||||
);
|
||||
|
||||
return (
|
||||
<Box flexDirection="column" marginTop={1} marginBottom={1}>
|
||||
<Box marginTop={1} flexDirection="column">
|
||||
<Box flexDirection="column" marginBottom={1}>
|
||||
<Box flexDirection="column">
|
||||
<Text color={theme.status.warning} bold underline>
|
||||
⚠️ Security Warning:
|
||||
</Text>
|
||||
|
||||
Reference in New Issue
Block a user