mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-07 02:58:15 +00:00
fix: add text wrapping to command patterns in Manage Command Permissions (#6255)
Co-authored-by: Roo Code <roomote@roocode.com>
This commit is contained in:
parent
f530a71371
commit
91c21a1bba
1 changed files with 2 additions and 2 deletions
|
|
@ -141,9 +141,9 @@ export const CommandPatternSelector: React.FC<CommandPatternSelectorProps> = ({
|
|||
) : (
|
||||
<div
|
||||
onClick={() => setEditState(item.pattern, true)}
|
||||
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"
|
||||
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"
|
||||
title="Click to edit pattern">
|
||||
<span>{editState.value}</span>
|
||||
<span className="break-all">{editState.value}</span>
|
||||
{item.description && (
|
||||
<span className="text-vscode-descriptionForeground ml-2">
|
||||
- {item.description}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue