File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 71
71
{{/* show dummy elements before Vue componment is mounted, this code must match the code in BranchTagSelector.vue */}}
72
72
<div class="ui dropdown custom">
73
73
<button class="branch-dropdown-button gt-ellipsis ui basic small compact button tw-flex tw-m-0">
74
- <span class="text tw-flex tw-items-center tw-mr-1">
74
+ <span class="text tw-flex tw-items-center tw-mr-1 gt-ellipsis ">
75
75
{{if .release}}
76
76
{{ctx.Locale.Tr "repo.release.compare"}}
77
77
{{else}}
80
80
{{else}}
81
81
{{svg "octicon-git-branch"}}
82
82
{{end}}
83
- <strong ref="dropdownRefName" class="tw-ml-2">{{if and .root.IsViewTag (not .noTag)}}{{.root.TagName}}{{else if .root.IsViewBranch}}{{.root.BranchName}}{{else}}{{ShortSha .root.CommitID}}{{end}}</strong>
83
+ <strong ref="dropdownRefName" class="tw-ml-2 tw-inline-block gt-ellipsis ">{{if and .root.IsViewTag (not .noTag)}}{{.root.TagName}}{{else if .root.IsViewBranch}}{{.root.BranchName}}{{else}}{{ShortSha .root.CommitID}}{{end}}</strong>
84
84
{{end}}
85
85
</span>
86
86
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
Original file line number Diff line number Diff line change 39
39
}
40
40
41
41
# issue-list .flex-item-body .branches .branch {
42
- background-color : var (--color-secondary-alpha-40 );
42
+ background-color : var (--color-secondary-alpha-50 );
43
43
border-radius : var (--border-radius );
44
44
padding : 0 4px ;
45
45
}
48
48
white-space : nowrap;
49
49
overflow : hidden;
50
50
text-overflow : ellipsis;
51
- max-width : 10em ;
51
+ max-width : 200px ;
52
+ display : block;
52
53
}
53
54
54
55
# issue-list .flex-item-body .checklist progress {
Original file line number Diff line number Diff line change @@ -248,12 +248,12 @@ export default sfc; // activate IDE's Vue plugin
248
248
< template>
249
249
< div class = " ui dropdown custom" >
250
250
< button class = " branch-dropdown-button gt-ellipsis ui basic small compact button tw-flex tw-m-0" @click= " menuVisible = !menuVisible" @keyup .enter = " menuVisible = !menuVisible" >
251
- < span class = " text tw-flex tw-items-center tw-mr-1" >
251
+ < span class = " text tw-flex tw-items-center tw-mr-1 gt-ellipsis " >
252
252
< template v- if = " release" > {{ textReleaseCompare }}< / template>
253
253
< template v- else >
254
254
< svg- icon v- if = " isViewTag" name= " octicon-tag" / >
255
255
< svg- icon v- else name= " octicon-git-branch" / >
256
- < strong ref= " dropdownRefName" class = " tw-ml-2" > {{ refNameText }}< / strong>
256
+ < strong ref= " dropdownRefName" class = " tw-ml-2 tw-inline-block gt-ellipsis " > {{ refNameText }}< / strong>
257
257
< / template>
258
258
< / span>
259
259
< svg- icon name= " octicon-triangle-down" : size= " 14" class - name= " dropdown icon" / >
You can’t perform that action at this time.
0 commit comments