From 2596ecae5b29355125e64e9a962aab9a001e9a30 Mon Sep 17 00:00:00 2001 From: Artem Anufrij Date: Wed, 24 May 2017 21:23:34 +0200 Subject: [PATCH 1/3] improve mobile behavior Signed-off-by: Artem Anufrij --- css/style.css | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/css/style.css b/css/style.css index 459e651b9..3eb60cb9c 100644 --- a/css/style.css +++ b/css/style.css @@ -114,8 +114,6 @@ button.button-inline:hover { height: 100%; white-space: nowrap; overflow: auto; - top: -40px; - padding: 40px 0 0; z-index: 100; width: 100%; } @@ -267,7 +265,7 @@ button.button-inline:hover { width: 320px; margin-right: 10px; vertical-align: top; - display: inline-block !important; + display: inline-block; background-color: #f8f8f8; } @@ -617,6 +615,8 @@ button.button-inline:hover { #app-content { overflow: hidden; + display: flex; + flex-direction: column; } #app-content.details-visible { @@ -896,6 +896,11 @@ button.button-inline:hover { #board-header-controls-menu { display: flex; } + + .stack { + width: 100%; + display: block; + } } /** From 855479fe68973a585d94e91cc1d58edfe7fe16bf Mon Sep 17 00:00:00 2001 From: Artem Anufrij Date: Wed, 24 May 2017 22:24:27 +0200 Subject: [PATCH 2/3] added longTouch: true Signed-off-by: Artem Anufrij --- js/controller/BoardController.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/controller/BoardController.js b/js/controller/BoardController.js index 9a93522a5..87895e805 100644 --- a/js/controller/BoardController.js +++ b/js/controller/BoardController.js @@ -260,6 +260,7 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St scrollableContainer: '#board', containerPositioning: 'relative', containment: '#board', + longTouch: true, dragMove: function (itemPosition, containment, eventObj) { if (eventObj) { var container = $("#board"); From 2eb61184850bef265a911a7c2d60e6c15e992b88 Mon Sep 17 00:00:00 2001 From: Artem Anufrij Date: Wed, 24 May 2017 22:49:19 +0200 Subject: [PATCH 3/3] show stack action buttons on mobile device Signed-off-by: Artem Anufrij --- css/style.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/css/style.css b/css/style.css index 3eb60cb9c..a55268f52 100644 --- a/css/style.css +++ b/css/style.css @@ -297,7 +297,7 @@ button.button-inline:hover { .stack h2 button, .stack .stack-actions { float: right; - margin: 0px 0px 0px 20px; + margin: 0px 0px 0px 10px; } .stack h2 span { @@ -901,6 +901,11 @@ button.button-inline:hover { width: 100%; display: block; } + + .stack h2 .stack-actions { + display: flex; + opacity: 0.25; + } } /**