diff --git a/.fantasticonrc.js b/.fantasticonrc.js
index e3d90f4..00c3eea 100644
--- a/.fantasticonrc.js
+++ b/.fantasticonrc.js
@@ -7,6 +7,7 @@ const config = {
codepoints: require('./images/icons/template/mapping.json'),
inputDir: './images/icons',
outputDir: './dist',
+ fontsUrl: '#{root}/dist',
// @ts-ignore
fontTypes: ['woff2'],
normalize: true,
diff --git a/images/icons/template/styles.hbs b/images/icons/template/styles.hbs
index 441cd28..81adda6 100644
--- a/images/icons/template/styles.hbs
+++ b/images/icons/template/styles.hbs
@@ -1,8 +1,15 @@
-@font-face {
- font-family: '{{ name }}';
- font-display: block;
- src: {{{ fontSrc }}};
-}
+/*
+
+Must be placed at the end of body in the HTML file of any webview that needs it (because of CSP)
+
+
+*/
.glicon {
font: normal normal normal 16px/1 {{ name }};
diff --git a/src/webviews/apps/commitDetails/commitDetails.html b/src/webviews/apps/commitDetails/commitDetails.html
index 417e69a..9955fea 100644
--- a/src/webviews/apps/commitDetails/commitDetails.html
+++ b/src/webviews/apps/commitDetails/commitDetails.html
@@ -66,8 +66,8 @@
href="#"
data-action="commit-actions"
data-action-type="graph"
- aria-label="Show Commit on Commit Graph"
- title="Show Commit on Commit Graph"
+ aria-label="Show in Commit Graph"
+ title="Show in Commit Graph"
>
@font-face {
font-family: 'codicon';
- src: url('#{webroot}/codicon.ttf?404cbc4fe3a64b9a93064eef76704c79') format('truetype');
+ font-display: block;
+ src: url('#{webroot}/codicon.ttf?0e5b0adf625a37fbcd638d31f0fe72aa') format('truetype');
+ }
+
+