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

tokarchuk/v1.17
jaqra 5 years ago committed by Antoine GIRARD
parent 6ea77523bb
commit 1a2d7207ea
  1. 1
      public/css/index.css
  2. 2
      public/less/_dashboard.less
  3. 2
      templates/user/dashboard/issues.tmpl

@ -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%}

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

@ -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>

Loading…
Cancel
Save