File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed
src/vs/editor/contrib/rename/browser Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 28
28
outline : none;
29
29
}
30
30
31
+ .monaco-editor .rename-box .rename-suggestions-button {
32
+ display : flex;
33
+ align-items : center;
34
+ padding : 3px ;
35
+ background-color : transparent;
36
+ border : none;
37
+ border-radius : 5px ;
38
+ cursor : pointer;
39
+ }
40
+
41
+ .monaco-editor .rename-box .rename-suggestions-button : hover {
42
+ background-color : var (--vscode-toolbar-hoverBackground )
43
+ }
44
+
31
45
.monaco-editor .rename-box .rename-label {
32
46
display : none;
33
47
opacity : .8 ;
Original file line number Diff line number Diff line change @@ -906,12 +906,7 @@ class InputWithButton implements IDisposable {
906
906
this . _domNode . appendChild ( this . _inputNode ) ;
907
907
908
908
this . _buttonNode = document . createElement ( 'div' ) ;
909
- this . _buttonNode . style . display = 'flex' ;
910
- this . _buttonNode . style . alignItems = 'center' ;
911
- this . _buttonNode . style . padding = '3px' ;
912
- this . _buttonNode . style . backgroundColor = 'transparent' ;
913
- this . _buttonNode . style . border = 'none' ;
914
- this . _buttonNode . style . borderRadius = '5px' ;
909
+ this . _buttonNode . className = 'rename-suggestions-button' ;
915
910
this . _buttonNode . setAttribute ( 'tabindex' , '0' ) ;
916
911
917
912
this . _buttonGenHoverText = nls . localize ( 'generateRenameSuggestionsButton' , "Generate new name suggestions" ) ;
You can’t perform that action at this time.
0 commit comments