@@ -9,7 +9,7 @@ import IconButton from '@material-ui/core/IconButton';
99import MenuIcon from '@material-ui/icons/Menu' ;
1010import SvgIcon from '@material-ui/core/SvgIcon' ;
1111import { useRouter } from 'next/router' ;
12- import { componentTypes } from '@data-driven-forms/react-form-renderer' ;
12+ import { componentTypes } from '@data-driven-forms/react-form-renderer' ;
1313
1414import { flatSchema } from './navigation/schema' ;
1515import GhIcon from './common/gh-svg-icon' ;
@@ -187,30 +187,31 @@ const Layout = ({ children }) => {
187187 < Navigation searchRef = { searchRef } closeNav = { handleDrawerClose } />
188188 < Divider />
189189 </ 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 >
190206
191207 < main
192208 className = { clsx ( classes . content , {
193209 [ classes . contentShift ] : open ,
194210 [ classes . mainGradient ] : router . pathname === '/' ,
195211 [ classes . mainGradientShift ] : router . pathname === '/' && open ,
212+ 'DocSearch-content' : true ,
196213 } ) }
197214 >
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 >
214215 < div className = { classes . contentWrapper } >
215216 < div style = { {
216217 paddingRight : 32 ,
0 commit comments