From e1bfdeaccac495cc983fe5f9766456af025f0574 Mon Sep 17 00:00:00 2001 From: sanshuiyijing Date: Thu, 4 Jul 2024 16:43:32 +0800 Subject: [PATCH] fix: update autocomplete icon ui --- packages/extensions/sql-autocomplete/src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/extensions/sql-autocomplete/src/index.ts b/packages/extensions/sql-autocomplete/src/index.ts index dc18bb8..5ee0f51 100644 --- a/packages/extensions/sql-autocomplete/src/index.ts +++ b/packages/extensions/sql-autocomplete/src/index.ts @@ -209,7 +209,9 @@ const baseTheme = EditorView.baseTheme({ alignItems: 'center' }, '.cm-autocomplete-item > div.icon': { - marginRight: '10px', + marginRight: '10px' + }, + '.cm-autocomplete-item > div.icon svg': { verticalAlign: 'middle' }, '.cm-autocomplete-item .cm-completionIcon-keyword': {