mirror of
https://github.com/Leaflet/Leafdoc.git
synced 2025-07-22 01:23:09 +00:00
Basic templates: max width, inheritable <details>
This commit is contained in:
@ -19,6 +19,8 @@
|
||||
}
|
||||
body {
|
||||
font-family: Sans;
|
||||
max-width: 50em;
|
||||
margin: auto;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
@ -27,4 +29,4 @@
|
||||
|
||||
{{{ body }}}
|
||||
|
||||
</body></html>
|
||||
</body></html>
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user