diff options
author | jaqra <48099350+jaqra@users.noreply.github.com> | 2019-10-04 10:18:46 +0300 |
---|---|---|
committer | Antoine GIRARD <sapk@users.noreply.github.com> | 2019-10-04 09:18:46 +0200 |
commit | 1a2d7207ea38a2c5f32b0fa8e7778c747a5631c8 (patch) | |
tree | f057dbc8b7c6ebf38fb3ba43643874639d01fb19 | |
parent | 6ea77523bbda75255e04bb5befafe24f5279ab5e (diff) | |
download | gitea-1a2d7207ea38a2c5f32b0fa8e7778c747a5631c8.tar.gz gitea-1a2d7207ea38a2c5f32b0fa8e7778c747a5631c8.zip |
Make 100% width issues page left menu and add reponame as title attribute (#8359)
-rw-r--r-- | public/css/index.css | 1 | ||||
-rw-r--r-- | public/less/_dashboard.less | 2 | ||||
-rw-r--r-- | templates/user/dashboard/issues.tmpl | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/public/css/index.css b/public/css/index.css index 294539d39f..496194decc 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -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%} diff --git a/public/less/_dashboard.less b/public/less/_dashboard.less index 1b5d231499..8749fb8802 100644 --- a/public/less/_dashboard.less +++ b/public/less/_dashboard.less @@ -14,6 +14,8 @@ } .filter.menu { + width: initial; + .item { text-align: left; diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index 83e630e97e..ac5f10a599 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -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> |