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
d9f378ae
Commit
d9f378ae
authored
May 20, 2020
by
christianrhansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
made image cells downward compatibile
parent
3451e4f8
Pipeline
#59879
passed with stage
in 1 minute and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
partials/cells/CellImage.vue
partials/cells/CellImage.vue
+6
-3
No files found.
partials/cells/CellImage.vue
View file @
d9f378ae
...
...
@@ -5,14 +5,14 @@
template(v-if="display")
conditional-link.fit.text-center.relative-position.linked(v-if="link", :url="link")
.fit(:style="cellBg")
.fit
.downward-compatibility
(:style="cellBg")
q-btn.absolute-center.bg-primary.text-white(round, flat, size="sm")
q-icon(v-if="link", name="link")
.fit(v-else, :style="cellBg")
.fit
.downward-compatibility
(v-else, :style="cellBg")
template(v-else)
div.q-pa-sm.cell-background(:style="cellBg")
div.q-pa-sm.cell-background
.downward-compatibility
(:style="cellBg")
.absolute-top-left.q-pa-sm
cell-info(:cell="cell", type="Image Cell")
...
...
@@ -62,6 +62,9 @@
<
style
scoped
lang=
"stylus"
>
@import '~variables'
.downward-compatibility
background-position center
background-size contain
div
width 100%
height 100%
...
...
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