summaryrefslogtreecommitdiffstats
path: root/web_src/less/shared
diff options
context:
space:
mode:
authorIT-AlexKor <101557941+IT-AlexKor@users.noreply.github.com>2022-05-25 16:33:35 +0300
committerGitHub <noreply@github.com>2022-05-25 15:33:35 +0200
commit0692f437b6e9e22399f84adc0f8bad15e9341e09 (patch)
treeede35ba19962b80801a529d3ae4a528c3e50031e /web_src/less/shared
parent35d0358c2a5cd71219fc407b08d29159e6084cd0 (diff)
downloadgitea-0692f437b6e9e22399f84adc0f8bad15e9341e09.tar.gz
gitea-0692f437b6e9e22399f84adc0f8bad15e9341e09.zip
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>
Diffstat (limited to 'web_src/less/shared')
-rw-r--r--web_src/less/shared/issuelist.less17
1 files changed, 17 insertions, 0 deletions
diff --git a/web_src/less/shared/issuelist.less b/web_src/less/shared/issuelist.less
index 32fd206827..775fc98478 100644
--- a/web_src/less/shared/issuelist.less
+++ b/web_src/less/shared/issuelist.less
@@ -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);
}