Browse Source

Fixes codicons on webviews

main
Eric Amodio 3 years ago
parent
commit
8bb6d8f1e7
4 changed files with 5 additions and 4 deletions
  1. +1
    -1
      src/webviews/apps/rebase/rebase.html
  2. +1
    -1
      src/webviews/apps/settings/settings.html
  3. +1
    -1
      src/webviews/apps/welcome/welcome.html
  4. +2
    -1
      webpack.config.js

+ 1
- 1
src/webviews/apps/rebase/rebase.html View File

@ -5,7 +5,7 @@
<style nonce="#{cspNonce}">
@font-face {
font-family: 'codicon';
src: url('#{root}/dist/webviews/codicon.ttf?669d352dfabff8f6eaa466c8ae820e43') format('truetype');
src: url('#{root}/dist/webviews/codicon.ttf?404cbc4fe3a64b9a93064eef76704c79') format('truetype');
}
</style>
</head>

+ 1
- 1
src/webviews/apps/settings/settings.html View File

@ -5,7 +5,7 @@
<style nonce="#{cspNonce}">
@font-face {
font-family: 'codicon';
src: url('#{root}/dist/webviews/codicon.ttf?669d352dfabff8f6eaa466c8ae820e43') format('truetype');
src: url('#{root}/dist/webviews/codicon.ttf?404cbc4fe3a64b9a93064eef76704c79') format('truetype');
}
</style>
</head>

+ 1
- 1
src/webviews/apps/welcome/welcome.html View File

@ -5,7 +5,7 @@
<style nonce="#{cspNonce}">
@font-face {
font-family: 'codicon';
src: url('#{root}/dist/webviews/codicon.ttf?669d352dfabff8f6eaa466c8ae820e43') format('truetype');
src: url('#{root}/dist/webviews/codicon.ttf?404cbc4fe3a64b9a93064eef76704c79') format('truetype');
}
</style>
</head>

+ 2
- 1
webpack.config.js View File

@ -361,7 +361,8 @@ function getWebviewsConfig(mode, env) {
from: path.posix.join(
__dirname.replace(/\\/g, '/'),
'node_modules',
'vscode-codicons',
'@vscode',
'codicons',
'dist',
'codicon.ttf',
),

Loading…
Cancel
Save