@@ -9,7 +9,7 @@ import IconButton from '@material-ui/core/IconButton';
9
9
import MenuIcon from '@material-ui/icons/Menu' ;
10
10
import SvgIcon from '@material-ui/core/SvgIcon' ;
11
11
import { useRouter } from 'next/router' ;
12
- import { componentTypes } from '@data-driven-forms/react-form-renderer' ;
12
+ import { componentTypes } from '@data-driven-forms/react-form-renderer' ;
13
13
14
14
import { flatSchema } from './navigation/schema' ;
15
15
import GhIcon from './common/gh-svg-icon' ;
@@ -187,30 +187,31 @@ const Layout = ({ children }) => {
187
187
< Navigation searchRef = { searchRef } closeNav = { handleDrawerClose } />
188
188
< Divider />
189
189
</ Drawer >
190
+ < div className = { clsx ( classes . drawerHeader , classes . appBar , classes . rightAppBar , {
191
+ [ classes . appBarShift ] : open ,
192
+ } ) } >
193
+ < a href = "https://github.com/data-driven-forms/react-forms" rel = "noopener noreferrer" target = "_blank" >
194
+ < IconButton
195
+ color = "inherit"
196
+ aria-label = "gh repository"
197
+ edge = "start"
198
+ className = { clsx ( classes . menuButton ) }
199
+ >
200
+ < SvgIcon >
201
+ < GhIcon className = { classes . menuIcons } />
202
+ </ SvgIcon >
203
+ </ IconButton >
204
+ </ a >
205
+ </ div >
190
206
191
207
< main
192
208
className = { clsx ( classes . content , {
193
209
[ classes . contentShift ] : open ,
194
210
[ classes . mainGradient ] : router . pathname === '/' ,
195
211
[ classes . mainGradientShift ] : router . pathname === '/' && open ,
212
+ 'DocSearch-content' : true ,
196
213
} ) }
197
214
>
198
- < div className = { clsx ( classes . drawerHeader , classes . appBar , classes . rightAppBar , {
199
- [ classes . appBarShift ] : open ,
200
- } ) } >
201
- < a href = "https://github.com/data-driven-forms/react-forms" rel = "noopener noreferrer" target = "_blank" >
202
- < IconButton
203
- color = "inherit"
204
- aria-label = "gh repository"
205
- edge = "start"
206
- className = { clsx ( classes . menuButton ) }
207
- >
208
- < SvgIcon >
209
- < GhIcon className = { classes . menuIcons } />
210
- </ SvgIcon >
211
- </ IconButton >
212
- </ a >
213
- </ div >
214
215
< div className = { classes . contentWrapper } >
215
216
< div style = { {
216
217
paddingRight : 32 ,
0 commit comments