Commit ae0a1027 authored by Christian Hansen's avatar Christian Hansen Committed by Anton Koch

fixed broken cell editor in mobile view (#7)

parent a40a3f16
......@@ -43,7 +43,7 @@
:max-height="500",
:value="cell.data[spec.path]",
@change="value => handleItemChanged(value, cell, spec.path)")
q-item-separator
q-item-separator(v-if="index < cellsData.length - 1")
// q-item(v-else)
q-field This cell type is not supported yet: {{ cell.component }}.{{ spec.path }}
......
<template lang="pug">
q-tabs.grid-editor-sources-tabs.shadow-11(v-model="selectedTab", color="dark")
q-tab(slot="title", name="tab-editing-cells", default) Edit Cell
q-btn(slot="title", icon="close",
small, flat, round, class="fixed", style="right: 2px; margin-top: 3px",
@click="handleCloseTabs()")
q-tabs.grid-editor-sources-tabs.bg-white(v-model="selectedTab", color="dark", align="justify", hide-underline)
q-tab.q-pa-none.bg-dark.text-white(slot="title", name="tab-editing-cells")
q-item.full-width.q-py-none.q-pl-md.q-pr-sm
q-item-main
| {{ $t('routes.mosys.cells.edit_cell') }}
q-item-side
q-btn.text-white(icon="check", size="md", flat, round, @click="handleCloseTabs()")
q-tab-pane(name="tab-editing-cells")
template(v-if="showEditingCells")
cell-editor(:cells="editingCells")
q-list.data-cell-dummy-settings
q-list-header Timeline Video Cell
q-item
......@@ -418,10 +422,19 @@
}
</script>
<style lang="stylus" scoped>
.q-item-section + .q-item-section
margin-left 0
.q-tabs
border-radius 0
</style>
<style lang="stylus">
@import '~variables'
.data-cell-dummy-settings
display none
background: #f6f6f6
margin-bottom: 1rem
.q-checkbox
......@@ -436,12 +449,4 @@
background: #e6e6e6
.secondary-select
margin-left: 2rem !important
.grid-editor-sources-tabs
background-color white
.q-tabs-panes
display flex
flex-direction column
overflow auto
</style>
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