Merge pull request #294 from google/comp-pages

Fix visual on component pages (fixes #277)
master
Addy Osmani 2015-05-13 16:43:38 +01:00
commit 6598ffebb0
2 changed files with 17 additions and 14 deletions

View File

@ -284,3 +284,11 @@ button a {
color: inherit;
text-decoration: none;
}
.component-description {
max-width: 720px;
padding: 40px;
}
.component-description .mdl-button:first-of-type {
margin-top: 8px;
}

View File

@ -1,20 +1,15 @@
{% extends 'layout.html' %}
{% block content %}
<div class="component-description mdl-cell mdl-cell--12-col">
<div>
<a href="../">back to all </a>
</div>
<div>
<a href="../">back to all </a>
</div>
<div>
<button class="mdl-button mdl-js-button mdl-button--raised">
<a href="demo.html">demo</a></button>
</div>
{{content|safe}}
<div>
<a href="demo.html" class="mdl-button mdl-js-button mdl-button--raised">demo</a></button>
</div>
{{content|safe}}
</div>
{% endblock %}