Skip to content

Commit d09fcb8

Browse files
committed
fix: prevent checkpoint text from wrapping in non-English languages
- Added whitespace-nowrap class to checkpoint text container - Fixes issue where longer translations (e.g., Japanese, Russian) would wrap - Ensures consistent single-line display across all languages Fixes #8206
1 parent ceb9d2b commit d09fcb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/components/chat/checkpoints/CheckpointSaved.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const CheckpointSaved = ({ checkpoint, ...props }: CheckpointSavedProps)
3636

3737
return (
3838
<div className="group flex items-center justify-between gap-2 pt-2 pb-3 ">
39-
<div className="flex items-center gap-2 text-blue-400">
39+
<div className="flex items-center gap-2 text-blue-400 whitespace-nowrap">
4040
<GitCommitVertical className="w-4" />
4141
<span className="font-semibold">{t("chat:checkpoint.regular")}</span>
4242
{isCurrent && <span className="text-muted">({t("chat:checkpoint.current")})</span>}

0 commit comments

Comments
 (0)