mirror of
https://github.com/Leaflet/Leafdoc.git
synced 2025-07-26 08:41:43 +00:00
Basic templates: max width, inheritable <details>
This commit is contained in:
@ -19,6 +19,8 @@
|
|||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
font-family: Sans;
|
font-family: Sans;
|
||||||
|
max-width: 50em;
|
||||||
|
margin: auto;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
@ -27,4 +29,4 @@
|
|||||||
|
|
||||||
{{{ body }}}
|
{{{ body }}}
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
|
<details>
|
||||||
<div class='accordion'>
|
<summary>{{name}} inherited from {{{type ancestor}}}</summary>
|
||||||
<!-- <label>Show inherited <a href='#{{id}}'>{{name}} from {{ancestor}}</a>.</label> -->
|
|
||||||
<label><span class='expander'>▶</span> {{name}} inherited from {{{type ancestor}}}</label>
|
|
||||||
<div class='accordion-content'>{{{inherited}}}</div>
|
<div class='accordion-content'>{{{inherited}}}</div>
|
||||||
</div>
|
</details>
|
||||||
|
Reference in New Issue
Block a user