Просмотр исходного кода

fix(icons): use geometricPrecision to avoid blurriness (#2756)

Dicha Zelianivan Arkana 8 месяцев назад
Родитель
Сommit
d2e5019f88
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      webview-ui/src/index.css

+ 8 - 0
webview-ui/src/index.css

@@ -392,3 +392,11 @@ input[cmdk-input]:focus {
 .custom-markdown > pre {
 .custom-markdown > pre {
 	background-color: transparent !important;
 	background-color: transparent !important;
 }
 }
+
+/*
+ * Use geometric precision for codicons to avoid blurriness 
+ */
+
+.codicon[class*="codicon-"] {
+	text-rendering: geometricPrecision !important;
+}