Skip to content

fix(session-ui): enable text selection in patch accordion (#39218) - #39461

Open
alpha-99 wants to merge 2 commits into
anomalyco:devfrom
alpha-99:patch-text-select
Open

fix(session-ui): enable text selection in patch accordion (#39218)#39461
alpha-99 wants to merge 2 commits into
anomalyco:devfrom
alpha-99:patch-text-select

Conversation

@alpha-99

Copy link
Copy Markdown

Issue for this PR

Closes #39218

Type of change

  • Bug fix

What does this PR do?

The apply-patch-file-diff area had user-select: none inherited from parent .card styles, preventing text selection. This change adds user-select: text and makes the component explicitly selectable by including it in the list of components that already allow selection (like bash-output, edit-content, etc.).

How did you verify your code works?

Verified locally that text in the patch accordion diff area is now selectable via mouse drag.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'patch' accordion in web ui does not allow text select / copy

1 participant