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 120c22dbe6
commit b0515d34ff

View File

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