From df201403acc814ddd223cc2785aa70d58e514824 Mon Sep 17 00:00:00 2001 From: Akira Sudoh Date: Wed, 4 Jul 2018 00:24:07 +0900 Subject: [PATCH] Define floating menu target (#290) Fixes carbon-design-system/carbon-components#910. --- src/app/App.js | 2 +- src/index.js | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/app/App.js b/src/app/App.js index 489c4285..d75d4e0f 100644 --- a/src/app/App.js +++ b/src/app/App.js @@ -140,7 +140,7 @@ class App extends Component { currentLocation === 'live' ? '' : ; return ( -
+
{toggleBtnContent} {sideNavContent}
diff --git a/src/index.js b/src/index.js index eb253d2b..e859fd5f 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,5 @@ import window from 'window-or-global'; -import React from 'react'; +import React, { Fragment } from 'react'; import ReactDOM from 'react-dom'; import { Router, browserHistory } from 'react-router'; import routes from './routes'; @@ -26,6 +26,9 @@ window.addEventListener('load', () => { }); ReactDOM.render( - , + + + + , document.getElementById('root'), );