Skip to content

Commit cc17293

Browse files
authored
Merge pull request #261 from rvsia/additionalClassNamesAlgolia
Add additional classNames for algolia
2 parents ce11507 + c772540 commit cc17293

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/react-renderer-demo/src/app/src/components/common/raw-component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const RawComponent = (props) => {
4848
}, [ props.source ]);
4949

5050
return (
51-
<Grid container spacing={ 0 }>
51+
<Grid container spacing={ 0 } className="DocRawComponent">
5252
{ content.text && (
5353
<Grid item xs={ 12 }>
5454
<ExpansionPanel>

packages/react-renderer-demo/src/app/src/components/mdx/mdx-components.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const Heading = ({ level, children, variant, component, ...rest }) => {
6464
const MdxComponents = {
6565
p: ({ children }) => <Typography variant="body1" gutterBottom>{ children }</Typography>,
6666
code: ({ children, lang, ...rest }) => (
67-
<div style={{ background: '#1d1f21', paddingTop: 5, paddingBottom: 5, marginTop: 10, marginBottom: 10 }}>
67+
<div style={{ background: '#1d1f21', paddingTop: 5, paddingBottom: 5, marginTop: 10, marginBottom: 10 }} className="DocCode">
6868
<CodeEditor
6969
readOnly
7070
mode={ typeof lang === 'string' ? lang.toLowerCase() : 'jsx' }
@@ -101,7 +101,7 @@ const MdxComponents = {
101101
/>
102102
</ListItem>,
103103
table: ({ children }) => (
104-
<Paper style={{ marginBottom: 10, marginTop: 10 }}>
104+
<Paper style={{ marginBottom: 10, marginTop: 10 }} className="DocTable">
105105
<Table>
106106
<TableHead>
107107
{ children[0].props.children }

0 commit comments

Comments
 (0)