2018-01-31 17:06:06 +00:00
|
|
|
<div class="settings-list-wrapper">
|
2018-05-02 00:05:36 +00:00
|
|
|
{#if label}
|
|
|
|
<ul class="settings-list" aria-label={label}>
|
2018-01-31 17:06:06 +00:00
|
|
|
<slot></slot>
|
|
|
|
</ul>
|
2018-05-02 00:05:36 +00:00
|
|
|
{:else}
|
2018-01-31 17:06:06 +00:00
|
|
|
<ul class="settings-list">
|
|
|
|
<slot></slot>
|
|
|
|
</ul>
|
2018-05-02 00:05:36 +00:00
|
|
|
{/if}
|
2018-01-31 17:06:06 +00:00
|
|
|
</div>
|
2018-01-13 20:12:17 +00:00
|
|
|
<style>
|
2018-01-31 17:06:06 +00:00
|
|
|
.settings-list-wrapper {
|
|
|
|
margin: 20px 20px;
|
|
|
|
}
|
2018-01-20 20:35:38 +00:00
|
|
|
ul.settings-list {
|
2018-01-13 20:12:17 +00:00
|
|
|
list-style: none;
|
2018-01-14 19:22:57 +00:00
|
|
|
width: 100%;
|
2018-01-13 20:12:17 +00:00
|
|
|
border: 1px solid var(--settings-list-item-border);
|
2018-01-31 17:06:06 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
|
|
.settings-list-wrapper {
|
|
|
|
margin: 20px 0;
|
|
|
|
}
|
2018-01-13 20:12:17 +00:00
|
|
|
}
|
2018-04-30 16:57:49 +00:00
|
|
|
</style>
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data: () => ({
|
|
|
|
label: void 0
|
|
|
|
})
|
|
|
|
}
|
|
|
|
</script>
|