fix(button): set user-select to none to make btn text not selectable
This commit is contained in:
parent
03100f6b1e
commit
718843e5ba
2 changed files with 6 additions and 0 deletions
5
.changeset/tiny-eyes-burn.md
Normal file
5
.changeset/tiny-eyes-burn.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@lion/button': patch
|
||||
---
|
||||
|
||||
Set user-select to none on button, so that the inner text is not selectable.
|
||||
|
|
@ -61,6 +61,7 @@ export class LionButton extends DisabledWithTabIndexMixin(SlotMixin(LitElement))
|
|||
padding: 8px; /* padding to fix with min-height */
|
||||
outline: none; /* focus style handled below */
|
||||
cursor: default; /* /* we should always see the default arrow, never a caret */
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
:host::before {
|
||||
|
|
|
|||
Loading…
Reference in a new issue