diff --git a/client/modules/IDE/pages/IDEViewMobile.jsx b/client/modules/IDE/pages/IDEViewMobile.jsx index b8b50e92..845f5203 100644 --- a/client/modules/IDE/pages/IDEViewMobile.jsx +++ b/client/modules/IDE/pages/IDEViewMobile.jsx @@ -10,7 +10,7 @@ const textColor = prop('primaryTextColor'); const Header = styled.div` width: 100%; - background-color: ${background} !important; + background-color: ${background}; color: ${textColor}; padding-left: ${remSize(32)}; `; diff --git a/client/routes.jsx b/client/routes.jsx index 5f4f9b8b..e406e357 100644 --- a/client/routes.jsx +++ b/client/routes.jsx @@ -25,12 +25,6 @@ const onRouteChange = (store) => { store.dispatch(stopSketch()); }; -// TODO: Investigate using react-router for this switch -// const ignoreMobile = () => window.location.search.substring(1).includes('ignoremobile'); -// const isMobile = () => window.innerWidth <= 760; -// const IDEView = isMobile() && !ignoreMobile() ? IDEViewMobileScreen : IDEViewScreen; - -// How to use URL as a prop? const routes = store => ( { onRouteChange(store); }}>