aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/features/projects.js
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2021-04-20 06:13:03 +0200
committerGitHub <noreply@github.com>2021-04-20 00:13:03 -0400
commit5e85cdad29aaca31e40ca2238974f9e3a0ecb1c0 (patch)
tree1ce1f1ef79eabc14414d31de6f11e7111a9f9083 /web_src/js/features/projects.js
parent2242f381e6f4341e21a7143c9b1e7e5da11d01f7 (diff)
downloadgitea-5e85cdad29aaca31e40ca2238974f9e3a0ecb1c0.tar.gz
gitea-5e85cdad29aaca31e40ca2238974f9e3a0ecb1c0.zip
Project board improvements (#15429)
* Project board improvements - Fix link colors - Extract CSS to own file - Various minor tweaks to make it look better Fixes: https://github.com/go-gitea/gitea/issues/15424 Fixes: https://github.com/go-gitea/gitea/issues/15506 Fixes: https://github.com/go-gitea/gitea/pull/15511 * fix squashed cards on small view area * more css fixes, add second row from issue list Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src/js/features/projects.js')
-rw-r--r--web_src/js/features/projects.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/web_src/js/features/projects.js b/web_src/js/features/projects.js
index 91e5c20850..0d619cab70 100644
--- a/web_src/js/features/projects.js
+++ b/web_src/js/features/projects.js
@@ -14,6 +14,7 @@ export default async function initProject() {
group: 'board-column',
draggable: '.board-column',
animation: 150,
+ ghostClass: 'card-ghost',
onSort: () => {
const board = document.getElementsByClassName('board')[0];
const boardColumns = board.getElementsByClassName('board-column');
@@ -42,6 +43,7 @@ export default async function initProject() {
{
group: 'shared',
animation: 150,
+ ghostClass: 'card-ghost',
onAdd: (e) => {
$.ajax(`${e.to.dataset.url}/${e.item.dataset.issue}`, {
headers: {