diff options
author | silverwind <me@silverwind.io> | 2021-04-20 06:13:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 00:13:03 -0400 |
commit | 5e85cdad29aaca31e40ca2238974f9e3a0ecb1c0 (patch) | |
tree | 1ce1f1ef79eabc14414d31de6f11e7111a9f9083 /web_src/js/features/projects.js | |
parent | 2242f381e6f4341e21a7143c9b1e7e5da11d01f7 (diff) | |
download | gitea-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.js | 2 |
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: { |