Skip to content

Commit

Permalink
Basic templates: max width, inheritable <details>
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanSanchez committed Dec 19, 2020
1 parent 54b5b12 commit ade04e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 3 additions & 1 deletion templates/basic/html.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
}
body {
font-family: Sans;
max-width: 50em;
margin: auto;
}
</style>
</head>
Expand All @@ -27,4 +29,4 @@

{{{ body }}}

</body></html>
</body></html>
8 changes: 3 additions & 5 deletions templates/basic/inherited.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

<div class='accordion'>
<!-- <label>Show inherited <a href='#{{id}}'>{{name}} from {{ancestor}}</a>.</label> -->
<label><span class='expander'>▶</span> {{name}} inherited from {{{type ancestor}}}</label>
<details>
<summary>{{name}} inherited from {{{type ancestor}}}</summary>
<div class='accordion-content'>{{{inherited}}}</div>
</div>
</details>

0 comments on commit ade04e1

Please sign in to comment.