fix(cli): preserve two-space gaps in mosaic icon tiles

Extract gap string to const to prevent prettier from collapsing
the double-space literals between icon tiles.
This commit is contained in:
2026-03-15 14:42:00 -05:00
parent 78cbaf869a
commit c67ffe3e51

View File

@@ -31,22 +31,24 @@ function formatContextWindow(n: number): string {
* ·· pink ·· * ·· pink ··
* amber ·· teal * amber ·· teal
*/ */
// Two-space gap between tiles (extracted to avoid prettier collapse)
const GAP = ' ';
function MosaicIcon() { function MosaicIcon() {
return ( return (
<Box flexDirection="column" marginRight={2}> <Box flexDirection="column" marginRight={2}>
<Text> <Text>
<Text color="#2f80ff"></Text> <Text color="#2f80ff"></Text>
<Text> </Text> <Text>{GAP}</Text>
<Text color="#8b5cf6"></Text> <Text color="#8b5cf6"></Text>
</Text> </Text>
<Text> <Text>
<Text> </Text> <Text>{GAP}</Text>
<Text color="#ec4899"></Text> <Text color="#ec4899"></Text>
<Text> </Text>
</Text> </Text>
<Text> <Text>
<Text color="#f59e0b"></Text> <Text color="#f59e0b"></Text>
<Text> </Text> <Text>{GAP}</Text>
<Text color="#14b8a6"></Text> <Text color="#14b8a6"></Text>
</Text> </Text>
</Box> </Box>