Parallax looking good, z-index issues

This commit is contained in:
James Barnsley
2018-12-19 16:27:40 +13:00
parent 23ef3c411c
commit 483b6dd91f
12 changed files with 110 additions and 40 deletions

View File

@ -405,7 +405,7 @@ class Discover extends React.Component{
// Results not in
if (!this.props.recommendations || this.props.recommendations.albums_uris === undefined || this.props.recommendations.artists_uris === undefined){
return null;
return <div className="content-wrapper recommendations-results"></div>;
}
var tracks = [];
@ -514,7 +514,7 @@ class Discover extends React.Component{
<div className="view discover-view preserve-3d">
<div className="intro preserve-3d">
<Parallax image="assets/backgrounds/discover.jpg" />
<Parallax image="assets/backgrounds/discover.jpg" fixedHeight />
<div className="intro__liner">
<h1>Explore new music</h1>
@ -558,7 +558,6 @@ class Discover extends React.Component{
const mapStateToProps = (state, ownProps) => {
return {
disable_parallax: state.ui.disable_parallax,
theme: state.ui.theme,
albums: state.core.albums,
artists: state.core.artists,