Commit f0f7a073 authored by christianrhansen's avatar christianrhansen

added columnsMd-prop

parent fd1745bb
Pipeline #29754 passed with stage
in 3 minutes and 57 seconds
<template lang="pug">
// div.bg-orange(:class="{'q-mt-xl': position !== 'first', 'q-pb-xl ui-border-bottom': position !== 'last'}")
div(:class="{'q-mt-xl': position !== 'first', '': position !== 'last'}")
div.col-12(:class="[{'q-mt-xl': position !== 'first', '': position !== 'last'}, `col-md-${columnsMd}`]")
slot
</template>
......@@ -8,7 +8,7 @@
import { mapGetters } from 'vuex'
export default {
name: 'content-block',
props: ['position'],
props: ['position', 'columnsMd'],
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