2018-02-08 06:49:50 +00:00
|
|
|
<div class="page-list-wrapper">
|
2018-05-02 00:05:36 +00:00
|
|
|
{#if label}
|
|
|
|
<ul class="page-list" aria-label={label}>
|
2018-02-08 06:49:50 +00:00
|
|
|
<slot></slot>
|
|
|
|
</ul>
|
2018-05-02 00:05:36 +00:00
|
|
|
{:else}
|
2018-02-08 06:49:50 +00:00
|
|
|
<ul class="page-list">
|
|
|
|
<slot></slot>
|
|
|
|
</ul>
|
2018-05-02 00:05:36 +00:00
|
|
|
{/if}
|
2018-02-08 06:49:50 +00:00
|
|
|
</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>
|