diff options
author | yp05327 <576951401@qq.com> | 2023-05-09 13:50:16 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 00:50:16 -0400 |
commit | 2ee72d011fa05852ba4117a8b849fde32cbd54e7 (patch) | |
tree | 93653c3d51c3effe34c1f369812a3bb903421dcb /web_src/css/features | |
parent | d5b2bf9044caad9fb473312c4816f6c6caad4698 (diff) | |
download | gitea-2ee72d011fa05852ba4117a8b849fde32cbd54e7.tar.gz gitea-2ee72d011fa05852ba4117a8b849fde32cbd54e7.zip |
Add permission check for moving issue action in project view page (#24589)
Fix #22954
Only users who have write permission can move issues in the project view page.
Diffstat (limited to 'web_src/css/features')
-rw-r--r-- | web_src/css/features/projects.css | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/web_src/css/features/projects.css b/web_src/css/features/projects.css index 2bc68ccf0d..bd48429fa6 100644 --- a/web_src/css/features/projects.css +++ b/web_src/css/features/projects.css @@ -6,6 +6,10 @@ margin: 0 0.5em; } +.board.sortable .board-card { + cursor: move; +} + .board-column { background-color: var(--color-project-board-bg) !important; border: 1px solid var(--color-secondary) !important; @@ -80,7 +84,6 @@ .board-card { margin: 4px 2px !important; border-radius: 5px !important; - cursor: move; width: calc(100% - 4px) !important; padding: 0.5rem !important; min-height: auto !important; |