Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(docs): docs stylesheet should not prevent scrolling in code pens
Browse files Browse the repository at this point in the history
Fixes #7269 Fixes #7216

Closes #7270
  • Loading branch information
devversion authored and ThomasBurleson committed Feb 25, 2016
1 parent eaf0fe5 commit ced1e83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/app/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ body {
font-size: 1.6rem;
}

body {
/* This styling should be not applied to codepen demos, so we need to add a unique identifier. */
body.docs-body {
overflow: hidden;
max-width: 100%;
max-height: 100%;
Expand Down
2 changes: 1 addition & 1 deletion docs/config/template/index.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<link rel="stylesheet" href="angular-material.min.css">
<link rel="stylesheet" href="docs.css">
</head>
<body layout="row" ng-cloak>
<body class="docs-body" layout="row" ng-cloak>

<md-sidenav class="site-sidenav md-sidenav-left md-whiteframe-z2"
md-component-id="left" hide-print
Expand Down

0 comments on commit ced1e83

Please sign in to comment.