mirror of
https://github.com/jakejarvis/spoons.git
synced 2025-04-26 12:18:27 -04:00
Fixed left margin for mobile and rows only move up and down
This commit is contained in:
parent
91972f5911
commit
c9e356ccc9
@ -89,6 +89,13 @@ include('header.php');
|
|||||||
display: table-cell !important;
|
display: table-cell !important;
|
||||||
line-height: 20px !important;
|
line-height: 20px !important;
|
||||||
}
|
}
|
||||||
|
div.row{
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
h2, h4{
|
||||||
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
@ -180,6 +187,8 @@ $(document).ready(function() {
|
|||||||
$(".table-active tbody").sortable({
|
$(".table-active tbody").sortable({
|
||||||
helper: fixHelper,
|
helper: fixHelper,
|
||||||
handle: ".drag",
|
handle: ".drag",
|
||||||
|
containment: 'parent',
|
||||||
|
axis: 'y',
|
||||||
update: function(event, ui) {
|
update: function(event, ui) {
|
||||||
var newOrder = $(this).sortable('toArray').toString();
|
var newOrder = $(this).sortable('toArray').toString();
|
||||||
$.post('sort_save.php', {order:newOrder});
|
$.post('sort_save.php', {order:newOrder});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user