]> source.dussan.org Git - gitea.git/commit
Fix issue sidebar (#32455)
authorwxiaoguang <wxiaoguang@gmail.com>
Fri, 8 Nov 2024 17:55:32 +0000 (01:55 +0800)
committerGitHub <noreply@github.com>
Fri, 8 Nov 2024 17:55:32 +0000 (01:55 +0800)
commitd80f99ef0441da135ba2857840687e0cf921ac52
tree74f769edd1121d251d1684dbe7dd02efc5c2d285
parent0f397ae09b028e3537d70659409ac6a1f069033e
Fix issue sidebar (#32455)

Fix #32453

Major changes:

* revert the `<div class="divider"></div>` in
`templates/repo/issue/branch_selector_field.tmpl` (it was removed by
mistake in ##32444)
* remove incorrect `<div class="inline field">` in
`templates/repo/issue/sidebar/allow_maintainer_edit.tmpl`
* use `gt-ellipsis` to replace the "title" class in the dependency list,
then `.repository .issue-content-right .ui.list .title` could be removed
* remove the "relaxed" from dependency list, then there is no padding,
then `.repository .issue-content-right .ui.list .dependency` could be
removed (`white-space` doesn't have effect either because there is
`gt-ellipsis`)
* remove dead code `.repository .issue-content-right #deadlineForm input
`

The fixed UI should be the same as before.
templates/repo/issue/branch_selector_field.tmpl
templates/repo/issue/sidebar/allow_maintainer_edit.tmpl
templates/repo/issue/sidebar/issue_dependencies.tmpl
web_src/css/repo.css