diff --git a/public/less/admin/manage/categories.less b/public/less/admin/manage/categories.less index 033bbdb815..7775c6304a 100644 --- a/public/less/admin/manage/categories.less +++ b/public/less/admin/manage/categories.less @@ -68,26 +68,27 @@ div.categories { } } - .icon { - width: 24px; - height: 24px; - border-radius: 50%; - line-height: 24px; - text-align: center; - vertical-align: bottom; - background-size: cover; - float: left; - margin-right: 0px; + .information { cursor: move; - .fa { - font-size: 85%; + padding-left: 3rem; + + .icon { + width: 24px; + height: 24px; + border-radius: 50%; + line-height: 24px; + text-align: center; + vertical-align: bottom; + background-size: cover; + float: left; + margin-right: 1rem; + + .fa { + font-size: 85%; + } } } - .information { - padding-left: 60px; - } - .category-header { margin-top: 0; margin-bottom: @acp-base-line; diff --git a/public/src/admin/manage/categories.js b/public/src/admin/manage/categories.js index 76ac746f53..d8e1b56f66 100644 --- a/public/src/admin/manage/categories.js +++ b/public/src/admin/manage/categories.js @@ -291,7 +291,7 @@ define('admin/manage/categories', [ sortables[parentId] = Sortable.create($('ul[data-cid="' + parentId + '"]')[0], { group: 'cross-categories', animation: 150, - handle: '.icon', + handle: '.information', dataIdAttr: 'data-cid', ghostClass: 'placeholder', onAdd: itemDidAdd, diff --git a/src/views/admin/partials/categories/category-rows.tpl b/src/views/admin/partials/categories/category-rows.tpl index 7fa7ec1723..137c144b38 100644 --- a/src/views/admin/partials/categories/category-rows.tpl +++ b/src/views/admin/partials/categories/category-rows.tpl @@ -7,16 +7,16 @@