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:
tidy-dev 2024-03-07 08:15:54 -05:00
parent 4879575aa1
commit 7c3bd1af59

View file

@ -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;