Commit 756d3eae authored by christianrhansen's avatar christianrhansen

content-block: added position query

parent 574ec602
Pipeline #11756 passed with stage
in 7 minutes and 37 seconds
<template lang="pug">
.q-pb-xl.ui-border-bottom.bg-red
div(:class="{'q-mt-xl': position !== 'first', 'q-pb-xl ui-border-bottom': position !== 'last'}")
slot
</template>
......@@ -7,7 +7,7 @@
import { mapGetters } from 'vuex'
export default {
name: 'content-block',
props: ['content'],
props: ['position'],
computed: {
...mapGetters({
isMobile: 'globalSettings/getIsMobile'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment