Commit a9aa172f authored by christianrhansen's avatar christianrhansen

styling

parent 294fb1f7
<template lang="pug">
q-list.default-source-container
q-list.default-source-container.q-py-none
template(v-for="(item, i) in items")
q-item(
q-item.q-pa-none.overflow-hidden.q-mx-sm.q-mt-md(
draggable="true",
@dragstart.native="event => {handleItemDragStart(event, item)}")
q-item-side.full-height.text-center
.mobile-only
q-btn.bg-primary.text-white(v-if="item.value", @click="cacheNewCell(item)", flat, round, size="sm")
q-icon(name="check", size="18px")
q-icon(v-else, :name="typeToIconName(item.type)", size="22px")
@dragstart.native="event => {handleItemDragStart(event, item)}",
:class="{'bg-grey-1': item.value}",
style="")
q-item-side.text-center.row.items-stretch(style="height: 60px; min-height: 60px;")
.mobile-only.fit
q-btn.bg-primary.text-white.fit(v-if="item.value", @click="cacheNewCell(item)", flat,
style="border-radius: .5rem;")
q-icon(name="check", size="22px")
q-btn.fit(v-else, flat, no-ripple)
q-icon(:name="typeToIconName(item.type)", size="22px")
.desktop-only
q-icon(:name="typeToIconName(item.type)", size="22px")
q-item-main
q-item-main.q-pb-md.q-pr-sm
// :icon="typeToIconName(item.type)",
q-field(
:helper="item.help",
......@@ -25,7 +29,8 @@
:error-label="item.errorMessage",
style="width: 100%")
q-input(
:float-label="item.label",
hide-underline,
:float-label="item.type",
:type="item.inputType",
:min-rows="1",
:max-height="500",
......@@ -47,7 +52,7 @@
q-icon(name="clear")
template(v-if="i < items.length - 1")
q-item-separator
//q-item-separator.q-ma-none
</template>
......
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