1
0
Fork 0
forked from forgejo/forgejo

Show source/target branches on PR's list (#19747)

Add ability to show source/target branches for Pull Request's list. It can be useful to see which branches are used in each PR right in the list.

Co-authored-by: Alexey Korobkov <akorobkov@cian.ru>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
IT-AlexKor 2022-05-25 16:33:35 +03:00 committed by GitHub
parent 35d0358c2a
commit 0692f437b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 5 deletions

View file

@ -119,6 +119,23 @@
}
}
.branches {
display: inline-flex;
padding: 0 6px;
.branch {
background-color: var(--color-secondary);
border-radius: 3px;
}
.truncated-name {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 10em;
}
}
> .item + .item {
border-top: 1px solid var(--color-secondary);
}