瀏覽代碼

Fixes codicons on webviews

main
Eric Amodio 3 年之前
父節點
當前提交
8bb6d8f1e7
共有 4 個檔案被更改,包括 5 行新增4 行删除
  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 查看文件

@ -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 查看文件

@ -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 查看文件

@ -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 查看文件

@ -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…
取消
儲存