Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Motion Bank
MB.js
Quasar Components MoSys
Commits
584eff31
Commit
584eff31
authored
Nov 05, 2019
by
christianrhansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mosys mobile: created selected-cell-header. hid editing box.
parent
66ca87c5
Pipeline
#19890
passed with stage
in 4 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
partials/GridEditor.vue
partials/GridEditor.vue
+14
-4
No files found.
partials/GridEditor.vue
View file @
584eff31
...
...
@@ -23,8 +23,8 @@
.fixed-top-right.z-top(v-touch-pan="moveCachedCell", v-if="cachedNewCell",
// :style="{top: touch.position.top - 16 - 16 + 'px'}")
// .fixed-top.z-top(v-touch-pan="moveCachedCell", v-if="cachedNewCell")
#cell-he
lp
er.fixed-top.z-top.bg-dark.text-white.transition(:class="{'show': cachedNewCell}")
q-item.q-p
x
-md.q-py-none.full-height
#
new-
cell-he
ad
er.fixed-top.z-top.bg-dark.text-white.transition(:class="{'show': cachedNewCell}")
q-item.q-p
l
-md.q-
pr-xs.q-
py-none.full-height
q-item-main
| Place new cell
q-item-side
...
...
@@ -35,6 +35,15 @@
q-btn.bg-transparent.text-white.on-right(@click.native="clearCachedCell()", round, flat)
q-icon(name="delete")
// -------------------------------------------------------------------------------------------- selected cell header
#selected-cell-header.fixed-top.z-top.bg-dark.text-white.transition(:class="{'show': showEditingCells}")
q-item.q-pl-md.q-pr-xs.q-py-none.full-height
q-item-main
| Edit cell
q-item-side
q-btn.bg-transparent.text-white.on-right(@click="event => {handleCellContextMenuDelete(event, mobileSelectedCell)}", round, flat)
q-icon(name="delete")
// ------------------------------------------------------------------------------------------------------------ grid
@click="event => {addMobileCell(event)}",
div.cell-grid.relative-position(
...
...
@@ -206,7 +215,7 @@
// ------------------------------------------------------------------------------------------ edit box (mobile only)
q-page-sticky.edit-box.q-mx-md.q-mb-md.transition-bottom.backdrop-filter.shadow-6.overflow-hidden(
q-page-sticky.edit-box.q-mx-md.q-mb-md.transition-bottom.backdrop-filter.shadow-6.overflow-hidden
.hidden
(
v-if="isMobile",
:class="[{'show-full' : carousel.visibility && showEditingCells}, {'show-minimized' : showEditingCells}]",
style="border-radius: .5rem;",
...
...
@@ -1248,7 +1257,8 @@
max-height calc(calc(100vh - 60px - 16px - 16px) / 2)
overflow-y scroll
#cell-helper
#new-cell-header
#selected-cell-header
height 59px
top -60px
&.show
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment