Skip to content

Commit 36863be

Browse files
committed
fixes
1 parent 9b720f1 commit 36863be

File tree

4 files changed

+23
-11
lines changed

4 files changed

+23
-11
lines changed

templates/repo/graph.tmpl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@
77
{{.i18n.Tr "repo.commit_graph"}}
88
<div class="ui icon buttons tiny color-buttons">
99
<div class="ui multiple selection search dropdown" id="flow-select-refs-dropdown">
10-
<input type="hidden">
10+
<input type="hidden" name="flow">
1111
<i class="dropdown icon"></i>
12-
<input type="text" class="search">
1312
<div class="default text">{{.i18n.Tr "repo.commit_graph.select"}}</div>
1413
<div class="menu">
1514
<div class="item" data-value="...flow-hide-pr-refs">
@@ -18,7 +17,6 @@
1817
</span>
1918
<!--<button id="flow-hide-pr-refs" class="ui labelled icon button {{if .HidePRRefs}} active{{end}}" title="{{.i18n.Tr "repo.commit_graph.hide_pr_refs"}}">{{svg "octicon-git-pull-request" 16 "mr-2"}}{{.i18n.Tr "repo.commit_graph.hide_pr_refs"}}</button>-->
2019
</div>
21-
<div class="divider"></div>
2220
{{range .AllRefs}}
2321
{{$refGroup := .RefGroup}}
2422
{{if eq $refGroup "pull"}}

web_src/less/_base.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,6 +1213,10 @@ table th[data-sortt-desc] {
12131213
}
12141214
}
12151215

1216+
.dropdown .ui.label {
1217+
margin-left: 0 !important;
1218+
}
1219+
12161220
.text-label {
12171221
display: inline-flex !important;
12181222
align-items: center !important;

web_src/less/features/gitgraph.less

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,15 @@
2424
}
2525

2626
#flow-select-refs-dropdown {
27-
vertical-align: top;
28-
height: 36.8438px;
29-
max-height: 36.8438px;
30-
min-width: 250px;
3127
border-top-right-radius: 0;
3228
border-bottom-right-radius: 0;
33-
34-
div.default.text {
35-
padding-top: 6.715px;
36-
}
29+
min-width: 250px;
30+
border-right: none;
3731

3832
.ui.label {
3933
max-width: 180px;
34+
display: inline-flex !important;
35+
align-items: center;
4036

4137
.truncate {
4238
display: inline-block;
@@ -47,6 +43,10 @@
4743
white-space: nowrap;
4844
}
4945
}
46+
47+
.dropdown.icon {
48+
display: none;
49+
}
5050
}
5151

5252
li {

web_src/less/themes/theme-arc-green.less

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,10 @@ body {
393393
color: #9e9e9e;
394394
}
395395

396+
input {
397+
color: #dbdbdb;
398+
}
399+
396400
/* firefox scroll bars */
397401

398402
* {
@@ -1590,6 +1594,12 @@ a.blob-excerpt:hover {
15901594
color: #dbdbdb;
15911595
}
15921596

1597+
.ui.active.label {
1598+
background: #393d4a;
1599+
border-color: #393d4a;
1600+
color: #dbdbdb;
1601+
}
1602+
15931603
a.ui.label:hover,
15941604
a.ui.labels .label:hover {
15951605
background-color: #505667 !important;

0 commit comments

Comments
 (0)