Skip to content

Commit

Permalink
Make 100% width issues page left menu and add reponame as title attri…
Browse files Browse the repository at this point in the history
…bute (#8359)
  • Loading branch information
jaqra authored and sapk committed Oct 4, 2019
1 parent 6ea7752 commit 1a2d720
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions public/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -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%}
Expand Down
2 changes: 2 additions & 0 deletions public/less/_dashboard.less
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
}

.filter.menu {
width: initial;

.item {
text-align: left;

Expand Down
2 changes: 1 addition & 1 deletion templates/user/dashboard/issues.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 1a2d720

Please sign in to comment.