Skip to content

Commit 91c21a1

Browse files
fix: add text wrapping to command patterns in Manage Command Permissions (#6255)
Co-authored-by: Roo Code <[email protected]>
1 parent f530a71 commit 91c21a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webview-ui/src/components/chat/CommandPatternSelector.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ export const CommandPatternSelector: React.FC<CommandPatternSelectorProps> = ({
141141
) : (
142142
<div
143143
onClick={() => setEditState(item.pattern, true)}
144-
className="font-mono text-xs text-vscode-foreground cursor-pointer hover:bg-vscode-list-hoverBackground px-2 py-1.5 rounded transition-colors border border-transparent"
144+
className="font-mono text-xs text-vscode-foreground cursor-pointer hover:bg-vscode-list-hoverBackground px-2 py-1.5 rounded transition-colors border border-transparent break-all"
145145
title="Click to edit pattern">
146-
<span>{editState.value}</span>
146+
<span className="break-all">{editState.value}</span>
147147
{item.description && (
148148
<span className="text-vscode-descriptionForeground ml-2">
149149
- {item.description}

0 commit comments

Comments
 (0)