X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/bbcdcd7b7582b43ca4853e436df383ff9dda465a..d5f11bb2fbb20c85e8ef857caedd58adf333e522:/src/components/code-snippet/code-snippet.tsx

diff --git a/src/components/code-snippet/code-snippet.tsx b/src/components/code-snippet/code-snippet.tsx
index 72d7d92b..f0a2b213 100644
--- a/src/components/code-snippet/code-snippet.tsx
+++ b/src/components/code-snippet/code-snippet.tsx
@@ -2,9 +2,9 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import * as React from 'react';
+import React from 'react';
 import { StyleRulesCallback, WithStyles, Typography, withStyles } from '@material-ui/core';
-import { ArvadosTheme } from '~/common/custom-theme';
+import { ArvadosTheme } from 'common/custom-theme';
 import classNames from 'classnames';
 
 type CssRules = 'root' | 'space';
@@ -35,7 +35,7 @@ export const CodeSnippet = withStyles(styles)(
         className={classNames(classes.root, className)}>
             {
                 lines.map((line: string, index: number) => {
-                    return <Typography key={index} className={apiResponse ? classes.space : ''} component="pre">{line}</Typography>;
+                    return <Typography key={index} className={apiResponse ? classes.space : className} component="pre">{line}</Typography>;
                 })
             }
         </Typography>
