Skip to content

Commit ed2aa23

Browse files
authored
Merge pull request #209 from hqwlkj/main
style(cli): 优化 AskUserQuestionPrompt 组件选项描述的布局间距
2 parents 41115cb + 8625cb3 commit ed2aa23

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

packages/cli/src/ui/views/AskUserQuestionPrompt.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,11 @@ export function AskUserQuestionPrompt({ questions, onSubmit, onCancel }: Props):
206206
)}
207207
</Box>
208208
) : null}
209-
{option.description ? <Text dimColor> {option.description}</Text> : null}
209+
{option.description ? (
210+
<Box marginLeft={3}>
211+
<Text dimColor> {option.description}</Text>
212+
</Box>
213+
) : null}
210214
</Box>
211215
);
212216
})}

0 commit comments

Comments
 (0)