projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
17782: Fixes almost all tests (4 left) mostly by fixing namespace-type imports.
[arvados-workbench2.git]
/
src
/
views
/
process-log-panel
/
process-log-code-snippet.tsx
diff --git
a/src/views/process-log-panel/process-log-code-snippet.tsx
b/src/views/process-log-panel/process-log-code-snippet.tsx
index d02fc02ce1431c74a2aefdaf4137991d0552ba61..d1756c77520695449cb4260163c5932428b7d938 100644
(file)
--- a/
src/views/process-log-panel/process-log-code-snippet.tsx
+++ b/
src/views/process-log-panel/process-log-code-snippet.tsx
@@
-2,9
+2,9
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-import
* as
React from 'react';
+import React from 'react';
import { MuiThemeProvider, createMuiTheme, StyleRulesCallback, withStyles, WithStyles } from '@material-ui/core/styles';
import { MuiThemeProvider, createMuiTheme, StyleRulesCallback, withStyles, WithStyles } from '@material-ui/core/styles';
-import { CodeSnippet } from '
~/
components/code-snippet/code-snippet';
+import { CodeSnippet } from 'components/code-snippet/code-snippet';
import grey from '@material-ui/core/colors/grey';
type CssRules = 'codeSnippet';
import grey from '@material-ui/core/colors/grey';
type CssRules = 'codeSnippet';
@@
-18,7
+18,7
@@
const styles: StyleRulesCallback<CssRules> = () => ({
const theme = createMuiTheme({
overrides: {
MuiTypography: {
const theme = createMuiTheme({
overrides: {
MuiTypography: {
- body
1
: {
+ body
2
: {
color: grey["200"]
},
root: {
color: grey["200"]
},
root: {
@@
-27,7
+27,8
@@
const theme = createMuiTheme({
}
},
typography: {
}
},
typography: {
- fontFamily: 'monospace'
+ fontFamily: 'monospace',
+ useNextVariants: true,
}
});
}
});