Commit fa4bde77 authored by christianrhansen's avatar christianrhansen
Browse files

fixed edit-carousel-width

parent cd11363b
......@@ -146,16 +146,18 @@
// ------------------------------------------------------------------------------------------ edit box (mobile only)
//
q-page-sticky.z-top.backdrop-filter.shadow-1.q-mx-md.q-mb-md.overflow-hidden.round-borders(
v-if="showEditingCells", position="bottom")
q-carousel
q-carousel.fixed-bottom.z-top.backdrop-filter.shadow-1.q-mx-md.q-mb-md.overflow-hidden.round-borders(
v-if="showEditingCells", v-model="slide", arrows)
q-carousel-slide
q-carousel-slide.q-pa-sm
.q-px-md
grid-editor-editing-cells-mobile
q-carousel-slide
q-carousel-slide.q-pa-sm
.text-center
q-btn.edit-cell-button(@click="mobileCellMove(mobileSelectedCell, 0, -1)", round, flat, size="md")
q-icon.rotate-90(name="keyboard_backspace")
......@@ -170,7 +172,7 @@
q-btn.edit-cell-button(@click="mobileCellMove(mobileSelectedCell, 0, 1)", round, flat, size="md")
q-icon.rotate-270(name="keyboard_backspace")
q-carousel-slide
q-carousel-slide.q-pa-sm
.text-center
q-btn.edit-cell-button(@click="mobileCellResize(mobileSelectedCell, 0, -1)", round, flat, size="md")
q-icon(name="remove")
......@@ -185,7 +187,7 @@
q-btn.edit-cell-button(@click="mobileCellResize(mobileSelectedCell, 0, 1)", round, flat, size="md")
q-icon(name="add")
q-carousel-slide.text-center
q-carousel-slide.q-pa-sm.text-center
q-btn.text-dark(@click="event => {handleCellContextMenuDelete(event, mobileSelectedCell)}",
flat, round, size="xl")
q-icon(name="delete")
......@@ -305,7 +307,8 @@
mobileSelectedCell: undefined,
touch: {position: {top: undefined, left: undefined}},
isMobile: this.$q.platform.is.mobile,
mobileTempCell: {x: 0, y: 0, width: 1, height: 1, show: false, onGrid: false, button: false}
mobileTempCell: {x: 0, y: 0, width: 1, height: 1, show: false, onGrid: false, button: false},
slide: undefined
}
},
computed: {
......
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