From a4ee45d683dedb9de72509e5b792b45b373b058e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=9B=8B=E6=80=BB?= Date: Tue, 16 Jul 2019 21:36:29 +0800 Subject: [PATCH] fix: file icon centered Signed-off-by: hacke2 --- packages/monaco/src/browser/style/index.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/monaco/src/browser/style/index.css b/packages/monaco/src/browser/style/index.css index 6d2cd77e861b1..564eaf9a6e39e 100644 --- a/packages/monaco/src/browser/style/index.css +++ b/packages/monaco/src/browser/style/index.css @@ -36,6 +36,9 @@ * we need to disable the background image when using file-icons */ .monaco-quick-open-widget .quick-open-tree .quick-open-entry .quick-open-entry-icon.file-icon { + display: flex; + justify-content: center; + align-items: center; background-image: none; margin-right: 0px; }