mirror of
https://github.com/jakejarvis/spoons.git
synced 2026-07-29 03:35:20 -04:00
Fixed left margin for mobile and rows only move up and down
This commit is contained in:
@@ -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});
|
||||||
|
|||||||
Reference in New Issue
Block a user