mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Fixes #44517: Maintain user-select: text
only for Safari
This commit is contained in:
parent
f1b178400c
commit
3c040d051e
|
@ -335,6 +335,8 @@ export class Configuration extends CommonEditorConfiguration {
|
|||
extra += 'ff ';
|
||||
} else if (browser.isEdge) {
|
||||
extra += 'edge ';
|
||||
} else if (browser.isSafari) {
|
||||
extra += 'safari ';
|
||||
}
|
||||
if (platform.isMacintosh) {
|
||||
extra += 'mac ';
|
||||
|
|
|
@ -14,21 +14,21 @@
|
|||
100% { background-color: none }
|
||||
}*/
|
||||
|
||||
.monaco-editor .lines-content,
|
||||
.monaco-editor .view-line,
|
||||
.monaco-editor .view-lines {
|
||||
.monaco-editor.safari .lines-content,
|
||||
.monaco-editor.safari .view-line,
|
||||
.monaco-editor.safari .view-lines {
|
||||
-webkit-user-select: text;
|
||||
-ms-user-select: text;
|
||||
-khtml-user-select: text;
|
||||
-moz-user-select: text;
|
||||
-o-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
.monaco-editor.ie .lines-content,
|
||||
.monaco-editor.ie .view-line,
|
||||
.monaco-editor.ie .view-lines {
|
||||
.monaco-editor .lines-content,
|
||||
.monaco-editor .view-line,
|
||||
.monaco-editor .view-lines {
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue