Skip to content

Commit

Permalink
gui: Allow automatic device ID selection on WebKit browsers (ref #8544)…
Browse files Browse the repository at this point in the history
… (#8597)

Some WebKit browsers select more than needed when using double click to
select device IDs, e.g. new lines and white space. This commit adds a
prefixed version of user-select in CSS in order to add support for those
browsers and allow them to select just device IDs automatically.

Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
  • Loading branch information
tomasz1986 committed Oct 10, 2022
1 parent fb6a35c commit 34d91b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui/default/assets/css/overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -550,5 +550,6 @@ html[lang|="ko"] i {
}

.select-on-click {
-webkit-user-select: all;
user-select: all;
}

0 comments on commit 34d91b2

Please sign in to comment.