diff --git a/src/components/CodeExample/CodeExample.js b/src/components/CodeExample/CodeExample.js index 7ee7360f..24c1e1f8 100644 --- a/src/components/CodeExample/CodeExample.js +++ b/src/components/CodeExample/CodeExample.js @@ -13,56 +13,45 @@ class CodeExample extends Component { '&:first-child': { marginTop: 0, }, - [media.greaterThan('xlarge')]: { + display: 'flex', + flexDirection: 'row', marginTop: 80, }, - }}> -
- {children && ( -
+ {children && ( +
- {children} -
- )} - {loaded ? ( - - ) : ( -

Loading code example...

- )} -
+ }, + }}> + {children} +
+ )} + {loaded ? :

Loading code example...

} ); }