mirror of
https://github.com/desktop/desktop
synced 2024-10-02 14:23:59 +00:00
Merge pull request #18264 from desktop/fix-added-space-side-by-side-diff-text-selection
Hidden checkbox inputs should not be text selectable
This commit is contained in:
commit
de39fe4b1f
|
@ -17,6 +17,10 @@
|
|||
user-select: text;
|
||||
}
|
||||
|
||||
.sr-only {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
// See https://github.com/desktop/desktop/pull/15128#issuecomment-1232689068
|
||||
&:not(:focus-within) .content,
|
||||
&.selecting-before .after,
|
||||
|
@ -207,6 +211,11 @@
|
|||
color: white;
|
||||
padding-top: 3px;
|
||||
text-align: center;
|
||||
user-select: none;
|
||||
|
||||
* {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.focus-handle {
|
||||
border-radius: var(--border-radius);
|
||||
|
@ -317,6 +326,10 @@
|
|||
box-sizing: content-box;
|
||||
position: relative;
|
||||
|
||||
input {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
label {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
|
Loading…
Reference in a new issue