File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
packages/react-renderer-demo/src/components Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import Search from '@material-ui/icons/Search';
66import docsearch from 'docsearch.js' ;
77import { useRouter } from 'next/router' ;
88
9- const useStyles = makeStyles ( ( ) => ( {
9+ const useStyles = makeStyles ( ( theme ) => ( {
1010 docSearchWrapper : {
1111 marginRight : 16 ,
1212 '& .algolia-docsearch-suggestion.algolia-docsearch-suggestion__main.algolia-docsearch-suggestion__secondary' : {
@@ -16,6 +16,12 @@ const useStyles = makeStyles(() => ({
1616 marginBottom : 0
1717 } ,
1818 '& .ds-dropdown-menu' : {
19+ [ theme . breakpoints . down ( 'sm' ) ] : {
20+ position : 'fixed !important' ,
21+ top : '50px !important' ,
22+ maxWidth : '100% !important' ,
23+ minWidth : '100%'
24+ } ,
1925 '& [class^=ds-dataset-]' : {
2026 borderRadius : 0
2127 } ,
You can’t perform that action at this time.
0 commit comments