From c4924be4d485b125453ff2d22d3ec08f285981d5 Mon Sep 17 00:00:00 2001 From: Mike Stone Date: Thu, 22 Sep 2016 09:20:13 -0400 Subject: [PATCH] Responsive nav (#225) * Allow specifying debounce options * responsive nav styles * animate sub items in skinny nav --- frontend/components/App/App.jsx | 6 +- frontend/components/SidePanel/SidePanel.jsx | 68 +++++++++++---- frontend/components/SidePanel/styles.js | 97 +++++++++++++++++---- frontend/utilities/debounce/index.js | 12 +-- 4 files changed, 142 insertions(+), 41 deletions(-) diff --git a/frontend/components/App/App.jsx b/frontend/components/App/App.jsx index 30569012a5..c39b61f683 100644 --- a/frontend/components/App/App.jsx +++ b/frontend/components/App/App.jsx @@ -1,7 +1,7 @@ import React, { Component, PropTypes } from 'react'; import { connect } from 'react-redux'; import { noop } from 'lodash'; -import { Style } from 'radium'; +import { Style, StyleRoot } from 'radium'; import { fetchCurrentUser } from '../../redux/nodes/auth/actions'; import Footer from './Footer'; import globalStyles from '../../styles/global'; @@ -32,11 +32,11 @@ export class App extends Component { const { children } = this.props; return ( -
+