mirror of
https://github.com/desktop/desktop
synced 2024-10-02 14:23:59 +00:00
Hidden elements like hunk handle labeling and checkbox inputs should not be text selectable
Update _side-by-side-diff.scss
This commit is contained in:
parent
4879575aa1
commit
7c3bd1af59
|
@ -24,6 +24,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
.sr-only {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
&.editable {
|
||||
.row {
|
||||
.before {
|
||||
|
@ -77,6 +81,10 @@
|
|||
box-sizing: content-box;
|
||||
position: relative;
|
||||
|
||||
input {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
label {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
@ -196,6 +204,11 @@
|
|||
width: 20px;
|
||||
left: calc(50% - 10px);
|
||||
top: 0;
|
||||
user-select: none;
|
||||
|
||||
* {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
&.hoverable {
|
||||
cursor: pointer;
|
||||
|
|
Loading…
Reference in a new issue