mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-23 16:49:50 +01:00
have at least 1px padding, https://github.com/microsoft/vscode/issues/16221
This commit is contained in:
@@ -191,7 +191,7 @@ export class InlayHintsController implements IEditorContribution {
|
||||
contentText: fixSpace(text),
|
||||
fontSize: `${fontSize}px`,
|
||||
fontFamily: `var(${fontFamilyVar})`,
|
||||
padding: `0px ${(fontSize / 4) | 0}px`,
|
||||
padding: `1px ${Math.max(1, fontSize / 4) | 0}px`,
|
||||
borderRadius: `${(fontSize / 4) | 0}px`,
|
||||
verticalAlign: 'middle',
|
||||
backgroundColor: themeColorFromId(editorInlayHintBackground),
|
||||
|
||||
Reference in New Issue
Block a user