Skip to content

Commit a85fde4

Browse files
alexmtwojtekidd
authored andcommitted
fix: fix broken monaco editor collapse icons (argoproj#8709)
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Signed-off-by: wojtekidd <wojtek.cichon@protonmail.com>
1 parent a915bc3 commit a85fde4

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

ui/src/app/webpack.config.js

+4
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ const config = {
8888
{
8989
from: 'node_modules/redoc/bundles/redoc.standalone.js',
9090
to: 'assets/scripts/redoc.standalone.js'
91+
},
92+
{
93+
from: 'node_modules/monaco-editor/min/vs/base/browser/ui/codicons/codicon',
94+
to: 'assets/fonts'
9195
}
9296
]
9397
}),

ui/src/assets/fonts.css

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
@font-face {
2+
font-family: "codicon";
3+
src: url("./fonts/codicon.ttf") format("truetype");
4+
}
5+
16
/* === Heebo - 300 */
27
@font-face {
38
font-family: 'Heebo';

0 commit comments

Comments
 (0)