diff options
author | Noah Loomans <noahloomans@gmail.com> | 2018-02-13 14:08:37 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2018-02-13 14:08:37 +0100 |
commit | be6bec08a36777f99bfe40ef9dbabac875b78270 (patch) | |
tree | e114b29dc68cdc5544bc0f66a394a2274570722c /src/client/react/components/page | |
parent | 392fee0c2b15a6d7d53330614afb9364a10bc6c8 (diff) |
Add elevation
Diffstat (limited to 'src/client/react/components/page')
-rw-r--r-- | src/client/react/components/page/User.js | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/client/react/components/page/User.js b/src/client/react/components/page/User.js index b520f90..86f6dfe 100644 --- a/src/client/react/components/page/User.js +++ b/src/client/react/components/page/User.js @@ -1,6 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import { Redirect } from 'react-router-dom'; +import { Elevation } from 'rmwc/Elevation'; import Search from '../container/Search'; import View from '../container/View'; import { userFromMatch } from '../../lib/url'; @@ -27,11 +28,13 @@ class UserPage extends React.Component { <Search /> </div> </div> - <div className="menu"> - <div className="menu-container"> - <WeekSelector /> + <Elevation z={2}> + <div className="menu"> + <div className="menu-container"> + <WeekSelector /> + </div> </div> - </div> + </Elevation> <View /> </div> ); |