Merge pull request #159 from nextcloud/mobile_improvements
improve mobile behavior
This commit is contained in:
@@ -114,8 +114,6 @@ button.button-inline:hover {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
top: -40px;
|
|
||||||
padding: 40px 0 0;
|
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
@@ -267,7 +265,7 @@ button.button-inline:hover {
|
|||||||
width: 320px;
|
width: 320px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
display: inline-block !important;
|
display: inline-block;
|
||||||
background-color: #f8f8f8;
|
background-color: #f8f8f8;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -299,7 +297,7 @@ button.button-inline:hover {
|
|||||||
.stack h2 button,
|
.stack h2 button,
|
||||||
.stack .stack-actions {
|
.stack .stack-actions {
|
||||||
float: right;
|
float: right;
|
||||||
margin: 0px 0px 0px 20px;
|
margin: 0px 0px 0px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stack h2 span {
|
.stack h2 span {
|
||||||
@@ -617,6 +615,8 @@ button.button-inline:hover {
|
|||||||
|
|
||||||
#app-content {
|
#app-content {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
#app-content.details-visible {
|
#app-content.details-visible {
|
||||||
@@ -896,6 +896,16 @@ button.button-inline:hover {
|
|||||||
#board-header-controls-menu {
|
#board-header-controls-menu {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.stack {
|
||||||
|
width: 100%;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stack h2 .stack-actions {
|
||||||
|
display: flex;
|
||||||
|
opacity: 0.25;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -260,6 +260,7 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St
|
|||||||
scrollableContainer: '#board',
|
scrollableContainer: '#board',
|
||||||
containerPositioning: 'relative',
|
containerPositioning: 'relative',
|
||||||
containment: '#board',
|
containment: '#board',
|
||||||
|
longTouch: true,
|
||||||
dragMove: function (itemPosition, containment, eventObj) {
|
dragMove: function (itemPosition, containment, eventObj) {
|
||||||
if (eventObj) {
|
if (eventObj) {
|
||||||
var container = $("#board");
|
var container = $("#board");
|
||||||
|
|||||||
Reference in New Issue
Block a user