summaryrefslogtreecommitdiffstats
path: root/client/components/cards
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-09-13 03:45:55 +0300
committerLauri Ojansivu <x@xet7.org>2019-09-13 03:45:55 +0300
commitff550e91103115e7b731dd80c4588b93b2d4c64f (patch)
tree79316cf93a59b6a8a09e6dc8071d39ec02547d27 /client/components/cards
parent0fcfc3a34039954a04f2f3549408baaf1dce1b0c (diff)
downloadwekan-ff550e91103115e7b731dd80c4588b93b2d4c64f.tar.gz
wekan-ff550e91103115e7b731dd80c4588b93b2d4c64f.tar.bz2
wekan-ff550e91103115e7b731dd80c4588b93b2d4c64f.zip
Mobile and Desktop drag handles part 1.
Thanks to xet7 ! Related #2081
Diffstat (limited to 'client/components/cards')
-rw-r--r--client/components/cards/minicard.jade4
-rw-r--r--client/components/cards/minicard.styl2
2 files changed, 3 insertions, 3 deletions
diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade
index 3806ce41..4c166c5c 100644
--- a/client/components/cards/minicard.jade
+++ b/client/components/cards/minicard.jade
@@ -3,6 +3,8 @@ template(name="minicard")
class="{{#if isLinkedCard}}linked-card{{/if}}"
class="{{#if isLinkedBoard}}linked-board{{/if}}"
class="minicard-{{colorClass}}")
+ .handle
+ .fa.fa-arrows
if cover
.minicard-cover(style="background-image: url('{{cover.url}}');")
if labels
@@ -15,8 +17,6 @@ template(name="minicard")
if hiddenMinicardLabelText
.minicard-label(class="card-label-{{color}}" title="{{name}}")
.minicard-title
- .handle
- .fa.fa-arrows
if $eq 'prefix-with-full-path' currentBoard.presentParentTask
.parent-prefix
| {{ parentString ' > ' }}
diff --git a/client/components/cards/minicard.styl b/client/components/cards/minicard.styl
index c4172572..9997fd5f 100644
--- a/client/components/cards/minicard.styl
+++ b/client/components/cards/minicard.styl
@@ -105,7 +105,7 @@
right: 5px;
top: 5px;
display:none;
- @media only screen and (max-width: 1199px) {
+ @media only screen {
display:block;
}
.fa-arrows