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';
6
6
import docsearch from 'docsearch.js' ;
7
7
import { useRouter } from 'next/router' ;
8
8
9
- const useStyles = makeStyles ( ( ) => ( {
9
+ const useStyles = makeStyles ( ( theme ) => ( {
10
10
docSearchWrapper : {
11
11
marginRight : 16 ,
12
12
'& .algolia-docsearch-suggestion.algolia-docsearch-suggestion__main.algolia-docsearch-suggestion__secondary' : {
@@ -16,6 +16,12 @@ const useStyles = makeStyles(() => ({
16
16
marginBottom : 0
17
17
} ,
18
18
'& .ds-dropdown-menu' : {
19
+ [ theme . breakpoints . down ( 'sm' ) ] : {
20
+ position : 'fixed !important' ,
21
+ top : '50px !important' ,
22
+ maxWidth : '100% !important' ,
23
+ minWidth : '100%'
24
+ } ,
19
25
'& [class^=ds-dataset-]' : {
20
26
borderRadius : 0
21
27
} ,
You can’t perform that action at this time.
0 commit comments