Skip to content

Commit

Permalink
website: Fix z-indexes + close sidebar in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
evanpurkhiser committed Jan 3, 2021
1 parent c3338c4 commit 604a8d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/website/Landing.tsx
Expand Up @@ -137,7 +137,6 @@ const shadeStyles = css`
left: 0;
right: 0;
bottom: 0;
z-index: 0;
transform-origin: 0 100%;
`;

Expand Down Expand Up @@ -263,6 +262,7 @@ OverlayShade.defaultProps = {
};

const ExampleContent = styled('div')`
z-index: 1;
width: 100%;
height: 400px;
max-width: 1264px;
Expand All @@ -281,7 +281,6 @@ const ConfigContainer = styled(motion.div)`
background: ${p => p.theme.background};
box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
border-radius: 5px;
z-index: 2;
@media only screen and (max-width: 1200px) {
display: none;
Expand Down
1 change: 1 addition & 0 deletions src/website/components/ActivityLink.tsx
Expand Up @@ -65,6 +65,7 @@ const Container = styled(motion.div)`
margin-top: -180px;
margin-bottom: -60px;
position: relative;
z-index: 1;
@media only screen and (max-width: 1200px) {
display: none;
Expand Down
1 change: 1 addition & 0 deletions src/website/demo/playingTracks.tsx
Expand Up @@ -20,6 +20,7 @@ const bootRoutine = new Routine([
fn: () => {
store.isInitalized = true;
store.networkState = NetworkState.Online;
store.config.sidebarCollapsed = true;

store.config.overlays.push({
key: 'exampleNowPlaying',
Expand Down

0 comments on commit 604a8d5

Please sign in to comment.