Skip to content

Commit ce3de2b

Browse files
Make certain controls non-selectable / non-draggable - Part II (#3957)
* This is due to my previous change which included the use of a poorly researched 'user-select: all' to unset a 'user-select'. The problem is that all does something else altogether: 'The content of the element shall be selected atomically: If a selection would contain part of the element, then the selection must contain the entire element including all its descendants. If a double-click or context-click occurred in sub-elements, the highest ancestor with this value will be selected.' Source: https://developer.mozilla.org/en-US/docs/Web/CSS/user-select * Add user-select:none to one more area * Remove extraneous additional dash Co-authored-by: LQ2' <[email protected]> --------- Co-authored-by: LQ2' <[email protected]>
1 parent 7c51211 commit ce3de2b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/renderer/App.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626

2727
.flexBox {
2828
display: block;
29-
user-select: all;
30-
-webkit-user-select: all;
29+
user-select: unset;
30+
-webkit-user-select: unset;
3131
}
3232

3333
#changeLogText {

src/renderer/scss-partials/_ft-list-item.scss

+4
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ $watched-transition-duration: 0.5s;
8585
.inner {
8686
grid-column: 1;
8787
grid-row: 1;
88+
user-select: none;
89+
-webkit-user-select: none;
8890
}
8991

9092
.thumbnailLink {
@@ -331,6 +333,8 @@ $watched-transition-duration: 0.5s;
331333
.live,
332334
.upcoming {
333335
text-transform: uppercase;
336+
user-select: none;
337+
-webkit-user-select: none;
334338
}
335339

336340
// we use h3 for semantic reasons but don't want to keep the h3 style

0 commit comments

Comments
 (0)