From 20849912901a7c9a045ae11cda827a5868259ab8 Mon Sep 17 00:00:00 2001 From: ghalestrilo Date: Mon, 15 Jun 2020 14:18:25 -0300 Subject: [PATCH] :ok_hand: clean up comments and remove css important directive --- client/modules/IDE/pages/IDEViewMobile.jsx | 2 +- client/routes.jsx | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) 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); }}>