pinafore/routes/_components/settings/SettingsLayout.html

34 lines
601 B
HTML
Raw Normal View History

<SettingsNav {page} {label}/>
2018-01-09 02:44:29 +01:00
<div class="settings">
2018-01-13 03:57:50 +01:00
<FreeTextLayout>
<slot></slot>
</FreeTextLayout>
2018-01-09 02:44:29 +01:00
</div>
2018-01-13 19:53:25 +01:00
<style>
.settings {
2018-01-16 06:58:31 +01:00
margin: 20px;
2018-01-13 19:53:25 +01:00
}
:global(.settings .free-text h1) {
margin-bottom: 30px;
}
2018-01-13 23:19:51 +01:00
:global(.settings .free-text h2) {
margin: 20px 0 10px;
}
2018-01-31 18:06:06 +01:00
@media (max-width: 767px) {
.settings {
margin: 20px 10px;
}
}
2018-01-13 19:53:25 +01:00
</style>
2018-01-09 02:44:29 +01:00
<script>
2018-04-20 06:38:01 +02:00
import SettingsNav from './SettingsNav.html'
2018-01-13 03:57:50 +01:00
import FreeTextLayout from '../../_components/FreeTextLayout'
2018-01-09 02:44:29 +01:00
export default {
components: {
2018-01-13 03:57:50 +01:00
FreeTextLayout,
2018-01-09 02:44:29 +01:00
SettingsNav
}
2018-04-20 06:38:01 +02:00
}
2018-01-09 02:44:29 +01:00
</script>