4bd181d3cc
* fix: update to latest sapper fixes #416 * fix error and debug pages * requestIdleCallback makes column switching feel way nicer than double rAF * add export feature * add better csp info * workaround for sapper sub-page issue * clarify in readme about exporting * fix now config * switch from rIC to triple raf * style-loader is no longer used * update theming guide
28 lines
509 B
HTML
28 lines
509 B
HTML
<div class="page-list-wrapper">
|
|
{#if label}
|
|
<ul class="page-list" aria-label={label}>
|
|
<slot></slot>
|
|
</ul>
|
|
{:else}
|
|
<ul class="page-list">
|
|
<slot></slot>
|
|
</ul>
|
|
{/if}
|
|
</div>
|
|
<style>
|
|
.page-list-wrapper {
|
|
margin: 20px 20px;
|
|
}
|
|
ul.page-list {
|
|
list-style: none;
|
|
width: 100%;
|
|
border: 1px solid var(--settings-list-item-border);
|
|
margin: 0 auto;
|
|
box-sizing: border-box;
|
|
}
|
|
@media (max-width: 767px) {
|
|
.page-list-wrapper {
|
|
margin: 20px 0;
|
|
}
|
|
}
|
|
</style> |