pinafore/routes/settings/_components/SettingsList.html

18 lines
331 B
HTML
Raw Normal View History

2018-01-21 10:19:28 +01:00
{{#if label}}
<ul class="settings-list" aria-label="{{label}}">
<slot></slot>
</ul>
{{else}}
<ul class="settings-list">
2018-01-13 21:12:17 +01:00
<slot></slot>
</ul>
2018-01-21 10:19:28 +01:00
{{/if}}
2018-01-13 21:12:17 +01:00
<style>
ul.settings-list {
2018-01-13 21:12:17 +01:00
list-style: none;
width: 100%;
2018-01-13 21:12:17 +01:00
border: 1px solid var(--settings-list-item-border);
margin: 20px auto;
max-width: 80%;
2018-01-13 21:12:17 +01:00
}
</style>