Skip to content

Commit

Permalink
Editable Heading. Allow user to select disabled heading's text
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmaximov committed Apr 20, 2023
1 parent 2195964 commit efd983b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/editable-heading/editable-heading.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@

font-size: inherit;

@nest .disabled & {
user-select: text;
}

&:focus {
outline: 1px solid var(--ring-border-hover-color);
}
Expand Down

0 comments on commit efd983b

Please sign in to comment.