mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-11 05:41:08 -07:00
feat(ux): update truncate dots to be shorter in tables (#17825)
This commit is contained in:
@@ -83,7 +83,7 @@ export const TableRenderer: React.FC<TableRendererProps> = ({
|
||||
const candidate = content.substring(0, mid);
|
||||
const candidateWidth = getPlainTextLength(candidate);
|
||||
|
||||
if (candidateWidth <= contentWidth - 3) {
|
||||
if (candidateWidth <= contentWidth - 1) {
|
||||
bestTruncated = candidate;
|
||||
left = mid + 1;
|
||||
} else {
|
||||
@@ -91,7 +91,7 @@ export const TableRenderer: React.FC<TableRendererProps> = ({
|
||||
}
|
||||
}
|
||||
|
||||
cellContent = bestTruncated + '...';
|
||||
cellContent = bestTruncated + '…';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user