pinafore/routes/_components/settings/SettingsLayout.html
Nolan Lawson 42be854521
upgrade to svelte 2.0 (#251)
* upgrade to svelte 2.0

* update svelte-loader to 2.9.0
2018-05-01 17:05:36 -07:00

34 lines
601 B
HTML

<SettingsNav {page} {label}/>
<div class="settings">
<FreeTextLayout>
<slot></slot>
</FreeTextLayout>
</div>
<style>
.settings {
margin: 20px;
}
:global(.settings .free-text h1) {
margin-bottom: 30px;
}
:global(.settings .free-text h2) {
margin: 20px 0 10px;
}
@media (max-width: 767px) {
.settings {
margin: 20px 10px;
}
}
</style>
<script>
import SettingsNav from './SettingsNav.html'
import FreeTextLayout from '../../_components/FreeTextLayout'
export default {
components: {
FreeTextLayout,
SettingsNav
}
}
</script>