Commit 60d88cbb authored by christianrhansen's avatar christianrhansen

html beautified only

parent 2cd97297
......@@ -71,11 +71,11 @@
//------------------------------------------------------------------------------------------------- temporary cell
.cell-item.temp-cell(
v-if="cellHandler.resize.pushed || cellHandler.move.pushed || cachedNewCell",
:style="getCellStyle(tempCell)",
:class="{'edit': tempCell.type === 'edit'}")
v-if="cellHandler.resize.pushed || cellHandler.move.pushed || cachedNewCell",
:style="getCellStyle(tempCell)",
:class="{'edit': tempCell.type === 'edit'}")
//----------------------------------------------------------------------------------------------------------- cell
//---------------------------------------------------------------------------------------------------------- cells
template(v-if="data.annotations", v-for="(annotation, index) in data.annotations")
// v-touch-pan="event => { panCell(event, annotation) }",
// draggable="true",
......@@ -113,9 +113,9 @@
cell-handler.default-handler(
v-if="!cellHandler.resize.pushed",
v-touch-pan.prevent="moveCell",
@onIntersectionChange="intersectionChanged",
:type="'move'",
v-touch-pan.prevent="moveCell",
:style="{left: cellHandler.move.x - 20 + 4 + 'px', top: cellHandler.move.y - 20 + 4 + 'px'}",
:class="[{'pushed': !cellHandler.move.pushed}, {'hide': cellHandler.hidden}]")
q-icon.rotate-180(name="open_with", size="22px")
......@@ -125,8 +125,8 @@
cell-handler.sticked-handler(
v-touch-pan.prevent="moveCell",
:doubleTap="{el: $el, type: 'scroll', oLeft: tempCell.left}",
:class="[(cellHandler.hidden || sideHandler.move.intersectingMainHandler || cellHandler.resize.pushed || cellHandler.move.pushed ? 'hide': 'show'), (sideHandler.move.side === 'left' ? 'left-side' : 'right-side'), (isMobile ? 'mobile' : 'desktop')]",
:style="{top: cellHandler.move.y + 59 - 20 + 4 + 'px'}",)
:style="{top: cellHandler.move.y + 59 - 20 + 4 + 'px'}",
:class="[(cellHandler.hidden || sideHandler.move.intersectingMainHandler || cellHandler.resize.pushed || cellHandler.move.pushed ? 'hide': 'show'), (sideHandler.move.side === 'left' ? 'left-side' : 'right-side'), (isMobile ? 'mobile' : 'desktop')]")
q-icon.rotate-180(name="open_with", size="22px")
//------------------------------------------------------------------------------------------------- resize handler
......@@ -134,9 +134,9 @@
cell-handler.default-handler(
v-if="!cellHandler.move.pushed",
v-touch-pan.prevent="resizeCell",
@onIntersectionChange="intersectionChanged",
:type="'resize'",
v-touch-pan.prevent="resizeCell",
:style="{left: cellHandler.resize.x - 20 - 4 + 'px', top: cellHandler.resize.y - 20 - 4 + 'px'}",
:class="[{'pushed': !cellHandler.resize.pushed}, {'hide': cellHandler.hidden}]")
q-icon(name="signal_cellular_4_bar", size="12px", style="margin-left: -3px;")
......@@ -145,8 +145,8 @@
cell-handler.sticked-handler(
v-touch-pan.prevent="resizeCell",
:class="[(cellHandler.hidden || sideHandler.resize.intersectingMainHandler || cellHandler.move.pushed || cellHandler.resize.pushed ? 'hide': 'show'), (sideHandler.resize.side === 'left' ? 'left-side' : 'right-side'), (isMobile ? 'mobile' : 'desktop')]",
:style="{top: cellHandler.resize.y + 59 - 20 - 4 + 'px'}",)
:style="{top: cellHandler.resize.y + 59 - 20 - 4 + 'px'}",
:class="[(cellHandler.hidden || sideHandler.resize.intersectingMainHandler || cellHandler.move.pushed || cellHandler.resize.pushed ? 'hide': 'show'), (sideHandler.resize.side === 'left' ? 'left-side' : 'right-side'), (isMobile ? 'mobile' : 'desktop')]")
q-icon(name="signal_cellular_4_bar", size="12px", style="margin-left: -3px;")
//--------------------------------------------------------------------------------------------------- grid handler
......
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