Skip to content

Commit 5dd9138

Browse files
JV0812kimsauce
andauthored
Mobile view optimization (#5667)
* Mobile view optimization * Temp remove github icon from header, disable respectPrefersColorScheme --------- Co-authored-by: Kim Pohas <[email protected]> Co-authored-by: Kim (Sumo Logic) <[email protected]>
1 parent e211a97 commit 5dd9138

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

docusaurus.config.js

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@ module.exports = {
274274
colorMode: {
275275
defaultMode: 'light',
276276
disableSwitch: false,
277-
respectPrefersColorScheme: true,
278277
},
279278
algolia: {
280279
appId: '2SJPGMLW1Q',
@@ -406,23 +405,8 @@ module.exports = {
406405
to: '/docs/release-notes',
407406
},
408407
{
409-
type: 'search',
408+
label: 'Support',
410409
position: 'left',
411-
},
412-
{
413-
type: 'html',
414-
position: 'right',
415-
value: 'google_translate',
416-
},
417-
{
418-
to: 'https://www.sumologic.com/sign-up',
419-
position: 'right',
420-
className: 'header-trial',
421-
alt: 'Sign up for a Sumo Logic free trial',
422-
},
423-
{
424-
position: 'right',
425-
className: 'support-menu-trigger',
426410
to: '#',
427411
type: 'dropdown',
428412
items: [
@@ -449,10 +433,25 @@ module.exports = {
449433
],
450434
},
451435
{
452-
className: 'header-github-link',
453-
to: 'https://github.com/SumoLogic/sumologic-documentation',
436+
type: 'html',
437+
position: 'right',
438+
value: 'google_translate',
439+
},
440+
{
441+
to: 'https://www.sumologic.com/sign-up',
442+
position: 'right',
443+
className: 'header-trial',
444+
alt: 'Sign up for a Sumo Logic free trial',
445+
},
446+
//{
447+
//className: 'header-github-link',
448+
//to: 'https://github.com/SumoLogic/sumologic-documentation',
449+
//position: 'right',
450+
//alt: 'Link to Sumo Logic Docs GitHub repository',
451+
//},
452+
{
453+
type: 'search',
454454
position: 'right',
455-
alt: 'Link to Sumo Logic Docs GitHub repository',
456455
},
457456
],
458457
},

0 commit comments

Comments
 (0)