Skip to content

Commit

Permalink
Allow scratch name to be highlighted and copied for non-owners (#1359)
Browse files Browse the repository at this point in the history
* Add scratchName class to allow highlighting and copying the scratch name

* Use .name to allow selecting scratch name
  • Loading branch information
PerikiyoXD authored and mkst committed Oct 11, 2024
1 parent 5870ac8 commit 3d11631
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontend/src/components/Scratch/ScratchToolbar.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ $padding: 4px;

text-align: center;

&.editable {
cursor: text;
}
cursor: text;
user-select: text;

&[contenteditable] {
text-overflow: initial;
Expand Down

0 comments on commit 3d11631

Please sign in to comment.