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:
parent
35d0358c2a
commit
0692f437b6
3 changed files with 47 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue