Skip to content

Commit

Permalink
fix: fix broken monaco editor collapse icons (argoproj#8709)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Signed-off-by: wojtekidd <wojtek.cichon@protonmail.com>
  • Loading branch information
alexmt authored and wojtekidd committed Apr 25, 2022
1 parent a915bc3 commit a85fde4
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 a85fde4

Please sign in to comment.