blob: e766d38d3cf8e6f99de560e35b7fbef0b8fa47c5 [file] [log] [blame]
Yoshie Muranaka8d129102019-12-19 09:51:55 -08001<template>
Yoshie Muranaka74f86872020-02-10 12:28:37 -08002 <main id="main-content" class="page-container">
Yoshie Muranaka8d129102019-12-19 09:51:55 -08003 <slot />
4 </main>
5</template>
6
7<script>
8export default {
Derick Montague602e98a2020-10-21 16:20:00 -05009 name: 'PageContainer',
Yoshie Muranaka8d129102019-12-19 09:51:55 -080010};
11</script>
12
13<style lang="scss" scoped>
14main {
Yoshie Muranaka74f86872020-02-10 12:28:37 -080015 width: 100%;
16 height: 100%;
Yoshie Muranaka8d129102019-12-19 09:51:55 -080017 padding-top: $spacer * 1.5;
18 padding-bottom: $spacer * 3;
Yoshie Muranaka74f86872020-02-10 12:28:37 -080019 padding-left: $spacer;
Yoshie Muranaka8d129102019-12-19 09:51:55 -080020 padding-right: $spacer;
Yoshie Muranaka74f86872020-02-10 12:28:37 -080021 @include media-breakpoint-up($responsive-layout-bp) {
22 padding-left: $spacer * 2;
23 }
Yoshie Muranaka8d129102019-12-19 09:51:55 -080024}
25</style>