Skip to content

Commit

Permalink
Contain content within sections
Browse files Browse the repository at this point in the history
  • Loading branch information
philwolstenholme committed Nov 14, 2022
1 parent ae1e6ca commit ad03dcb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/includes/pw-section.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@ export default {
</script>

<template>
<section :data-section="sectionKey" class="breakout">
<section :data-section="sectionKey" class="section breakout contain-content">
<div :class="['mx-auto', 'section__inner', 'section--' + sectionKey, sectionInnerClass].join(' ').trim()">
<slot></slot>
</div>
</section>
</template>

<style scoped>
.section {
padding-bottom: 2px;
}
</style>

0 comments on commit ad03dcb

Please sign in to comment.