Skip to content

Commit

Permalink
Merge branch 'liesislukas-master'
Browse files Browse the repository at this point in the history
* liesislukas-master:
  Pass scss lint
  Remove code autoload in playground
  don't hide navigation while playground is loaded if screen is 1200px+ in width
  • Loading branch information
javivelasco committed Nov 18, 2015
2 parents 1329cf9 + 5b7ca28 commit f410007
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions docs/app/components/layout/main/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,36 @@
}
}

// don't hide navigation when playground is open if screen width > 1200px
@media screen and (min-width: 1200px) {
.root {
&:not(.with-playground) {
> .playground {
right: - ($playground-width * 1.1);
}
> .documentation {
padding-right: 0;
padding-left: $navigation-width;
}
> .navigation {
transform: translateX(0);
}
}
&.with-playground {
> .playground {
right: 0;
}
> .documentation {
padding-right: $playground-width;
padding-left: $navigation-width;
}
> .navigation {
transform: translateX(0);
}
}
}
}

.load-button {
display: inline-block;
}

0 comments on commit f410007

Please sign in to comment.