1<template> 2 <main id="main-content" class="page-container"> 3 <slot /> 4 </main> 5</template> 6 7<script> 8import JumpLinkMixin from '@/components/Mixins/JumpLinkMixin'; 9export default { 10 name: 'PageContainer', 11 mixins: [JumpLinkMixin], 12 created() { 13 this.$root.$on('skip-navigation', () => { 14 this.setFocus(this.$el); 15 }); 16 }, 17}; 18</script> 19<style lang="scss" scoped> 20@import '@/assets/styles/bmc/helpers/_index.scss'; 21@import '@/assets/styles/bootstrap/_helpers.scss'; 22 23@import 'bootstrap/dist/css/bootstrap.css'; 24main { 25 width: 100%; 26 height: 100%; 27 padding-top: $spacer * 1.5; 28 padding-bottom: $spacer * 3; 29 padding-left: $spacer; 30 padding-right: $spacer; 31 32 &:focus-visible { 33 box-shadow: inset 0 0 0 2px theme-color('primary'); 34 outline: none; 35 } 36 37 @include media-breakpoint-up($responsive-layout-bp) { 38 padding-left: $spacer * 2; 39 } 40} 41</style> 42