Skip to content

Commit b45a34d

Browse files
authored
Center gutter indicator icon in NES view (microsoft#239332)
1 parent 1135e8e commit b45a34d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorView.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,9 @@ export class InlineEditsGutterIndicator extends Disposable {
282282
}
283283
}),
284284
transition: 'rotate 0.2s ease-in-out',
285+
display: 'flex',
286+
alignItems: 'center',
287+
justifyContent: 'center',
285288
}
286289
}, [
287290
this._tabAction.map(v => v === 'accept' ? renderIcon(Codicon.keyboardTab) : renderIcon(Codicon.arrowRight))

src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,6 @@
263263
}
264264
}
265265

266-
.inline-edits-view-gutter-indicator .codicon {
267-
margin-top: 1px; /* TODO: Move into gutter DOM initialization */
268-
}
269-
270266
@keyframes wiggle {
271267
0% {
272268
transform: rotate(0) scale(1);

0 commit comments

Comments
 (0)