Skip to content

Commit

Permalink
fix: fix broken monaco editor collapse icons (#8709)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
  • Loading branch information
alexmt committed Mar 30, 2022
1 parent 2cc8195 commit eea93c5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/src/app/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ const config = {
{
from: 'node_modules/redoc/bundles/redoc.standalone.js',
to: 'assets/scripts/redoc.standalone.js'
},
{
from: 'node_modules/monaco-editor/min/vs/base/browser/ui/codicons/codicon',
to: 'assets/fonts'
}
]
}),
Expand Down
5 changes: 5 additions & 0 deletions ui/src/assets/fonts.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
@font-face {
font-family: "codicon";
src: url("./fonts/codicon.ttf") format("truetype");
}

/* === Heebo - 300 */
@font-face {
font-family: 'Heebo';
Expand Down

0 comments on commit eea93c5

Please sign in to comment.