Make 100% width issues page left menu and add reponame as title attribute (#8359)

release/v1.15
jaqra 2019-10-04 10:18:46 +03:00 committed by Antoine GIRARD
parent 6ea77523bb
commit 1a2d7207ea
3 changed files with 4 additions and 1 deletions

View File

@ -955,6 +955,7 @@ tbody.commit-list{vertical-align:baseline}
.dashboard{padding-top:15px}
.dashboard.feeds .context.user.menu,.dashboard.issues .context.user.menu{z-index:101;min-width:200px}
.dashboard.feeds .context.user.menu .ui.header,.dashboard.issues .context.user.menu .ui.header{font-size:1rem;text-transform:none}
.dashboard.feeds .filter.menu,.dashboard.issues .filter.menu{width:initial}
.dashboard.feeds .filter.menu .item,.dashboard.issues .filter.menu .item{text-align:left}
.dashboard.feeds .filter.menu .item .text,.dashboard.issues .filter.menu .item .text{height:16px;vertical-align:middle}
.dashboard.feeds .filter.menu .item .text.truncate,.dashboard.issues .filter.menu .item .text.truncate{width:85%}

View File

@ -14,6 +14,8 @@
}
.filter.menu {
width: initial;
.item {
text-align: left;

View File

@ -25,7 +25,7 @@
{{end}}
<div class="ui divider"></div>
{{range .Repos}}
<a class="{{if eq $.RepoID .ID}}ui basic blue button{{end}} repo name item" href="{{$.Link}}?type={{$.ViewType}}{{if not (eq $.RepoID .ID)}}&repo={{.ID}}{{end}}&sort={{$.SortType}}&state={{$.State}}">
<a class="{{if eq $.RepoID .ID}}ui basic blue button{{end}} repo name item" href="{{$.Link}}?type={{$.ViewType}}{{if not (eq $.RepoID .ID)}}&repo={{.ID}}{{end}}&sort={{$.SortType}}&state={{$.State}}" title="{{.FullName}}">
<span class="text truncate">{{.FullName}}</span>
<div class="floating ui {{if $.IsShowClosed}}red{{else}}green{{end}} label">{{index $.Counts .ID}}</div>
</a>