File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/ShaderPlayground.Web/wwwroot/js Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -901,7 +901,7 @@ $(function () {
901
901
} else {
902
902
// An error occured, allow for coloring of ansi error output
903
903
// Even if an error didn't occur, there's no language so CodeMirror will struggle
904
- outputContainerDiv . innerHTML = "<pre>" + ( new AnsiUp ( ) ) . ansi_to_html ( output . value || "" ) + "</pre>" ;
904
+ outputContainerDiv . innerHTML = "<pre style=\"margin:0;\" >" + ( new AnsiUp ( ) ) . ansi_to_html ( output . value || "" ) + "</pre>" ;
905
905
}
906
906
break ;
907
907
}
Original file line number Diff line number Diff line change @@ -901,7 +901,7 @@ $(function () {
901
901
} else {
902
902
// An error occured, allow for coloring of ansi error output
903
903
// Even if an error didn't occur, there's no language so CodeMirror will struggle
904
- outputContainerDiv . innerHTML = "<pre>" + ( new AnsiUp ( ) ) . ansi_to_html ( output . value || "" ) + "</pre>" ;
904
+ outputContainerDiv . innerHTML = "<pre style=\"margin:0;\" >" + ( new AnsiUp ( ) ) . ansi_to_html ( output . value || "" ) + "</pre>" ;
905
905
}
906
906
break ;
907
907
}
You can’t perform that action at this time.
0 commit comments