|
3 | 3 | * Licensed under the MIT License. See License.txt in the project root for license information.
|
4 | 4 | *--------------------------------------------------------------------------------------------*/
|
5 | 5 |
|
6 |
| -.monaco-diff-editor .diff-review-line-number { |
7 |
| - text-align: right; |
8 |
| - display: inline-block; |
9 |
| - color: var(--vscode-editorLineNumber-foreground); |
| 6 | +.monaco-component.diff-review { |
| 7 | + user-select: none; |
| 8 | + -webkit-user-select: none; |
| 9 | + z-index: 99; |
10 | 10 | }
|
11 | 11 |
|
12 | 12 | .monaco-diff-editor .diff-review {
|
13 | 13 | position: absolute;
|
14 |
| - user-select: none; |
15 |
| - -webkit-user-select: none; |
16 |
| - z-index: 99; |
| 14 | + |
| 15 | +} |
| 16 | + |
| 17 | +.monaco-component.diff-review .diff-review-line-number { |
| 18 | + text-align: right; |
| 19 | + display: inline-block; |
| 20 | + color: var(--vscode-editorLineNumber-foreground); |
17 | 21 | }
|
18 | 22 |
|
19 |
| -.monaco-diff-editor .diff-review-summary { |
| 23 | +.monaco-component.diff-review .diff-review-summary { |
20 | 24 | padding-left: 10px;
|
21 | 25 | }
|
22 | 26 |
|
23 |
| -.monaco-diff-editor .diff-review-shadow { |
| 27 | +.monaco-component.diff-review .diff-review-shadow { |
24 | 28 | position: absolute;
|
25 | 29 | box-shadow: var(--vscode-scrollbar-shadow) 0 -6px 6px -6px inset;
|
26 | 30 | }
|
27 | 31 |
|
28 |
| -.monaco-diff-editor .diff-review-row { |
| 32 | +.monaco-component.diff-review .diff-review-row { |
29 | 33 | white-space: pre;
|
30 | 34 | }
|
31 | 35 |
|
32 |
| -.monaco-diff-editor .diff-review-table { |
| 36 | +.monaco-component.diff-review .diff-review-table { |
33 | 37 | display: table;
|
34 | 38 | min-width: 100%;
|
35 | 39 | }
|
36 | 40 |
|
37 |
| -.monaco-diff-editor .diff-review-row { |
| 41 | +.monaco-component.diff-review .diff-review-row { |
38 | 42 | display: table-row;
|
39 | 43 | width: 100%;
|
40 | 44 | }
|
41 | 45 |
|
42 |
| -.monaco-diff-editor .diff-review-spacer { |
| 46 | +.monaco-component.diff-review .diff-review-spacer { |
43 | 47 | display: inline-block;
|
44 | 48 | width: 10px;
|
45 | 49 | vertical-align: middle;
|
46 | 50 | }
|
47 | 51 |
|
48 |
| -.monaco-diff-editor .diff-review-spacer > .codicon { |
| 52 | +.monaco-component.diff-review .diff-review-spacer > .codicon { |
49 | 53 | font-size: 9px !important;
|
50 | 54 | }
|
51 | 55 |
|
52 |
| -.monaco-diff-editor .diff-review-actions { |
| 56 | +.monaco-component.diff-review .diff-review-actions { |
53 | 57 | display: inline-block;
|
54 | 58 | position: absolute;
|
55 | 59 | right: 10px;
|
56 | 60 | top: 2px;
|
57 | 61 | z-index: 100;
|
58 | 62 | }
|
59 | 63 |
|
60 |
| -.monaco-diff-editor .diff-review-actions .action-label { |
| 64 | +.monaco-component.diff-review .diff-review-actions .action-label { |
61 | 65 | width: 16px;
|
62 | 66 | height: 16px;
|
63 | 67 | margin: 2px 0;
|
64 | 68 | }
|
65 | 69 |
|
66 |
| -.monaco-diff-editor .revertButton { |
| 70 | +.monaco-component.diff-review .revertButton { |
67 | 71 | cursor: pointer;
|
68 | 72 | }
|
0 commit comments