mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
rename suggestions: fix: set border-radius on rename suggestions to give more polished look
fixes https://github.com/microsoft/vscode-copilot/issues/5306
This commit is contained in:
parent
9ea63e8b93
commit
4be6ff5bd5
|
@ -42,6 +42,10 @@
|
|||
background-color: var(--vscode-toolbar-hoverBackground)
|
||||
}
|
||||
|
||||
.monaco-editor .rename-box .rename-candidate-list-container .monaco-list-row {
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.monaco-editor .rename-box .rename-label {
|
||||
display: none;
|
||||
opacity: .8;
|
||||
|
|
|
@ -667,6 +667,7 @@ class RenameCandidateListView {
|
|||
this._typicalHalfwidthCharacterWidth = opts.fontInfo.typicalHalfwidthCharacterWidth;
|
||||
|
||||
this._listContainer = document.createElement('div');
|
||||
this._listContainer.className = 'rename-box rename-candidate-list-container';
|
||||
parent.appendChild(this._listContainer);
|
||||
|
||||
this._listWidget = RenameCandidateListView._createListWidget(this._listContainer, this._candidateViewHeight, opts.fontInfo);
|
||||
|
@ -992,6 +993,7 @@ class RenameCandidateView {
|
|||
constructor(parent: HTMLElement, fontInfo: FontInfo) {
|
||||
|
||||
this._domNode = document.createElement('div');
|
||||
this._domNode.className = 'rename-box rename-candidate';
|
||||
this._domNode.style.display = `flex`;
|
||||
this._domNode.style.columnGap = `5px`;
|
||||
this._domNode.style.alignItems = `center`;
|
||||
|
|
Loading…
Reference in a new issue