diff options
author | Unknwon <u@gogs.io> | 2015-11-04 12:50:02 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-04 12:50:02 -0500 |
commit | 603c7389b8e56740033e51b36b79e61136b46002 (patch) | |
tree | f8517fe0a91e81f6169d8b22a41c7ba6c4de1da2 /public | |
parent | 00eb2b221ff189a658cf4a7d7fa40e55ae66dfd9 (diff) | |
download | gitea-603c7389b8e56740033e51b36b79e61136b46002.tar.gz gitea-603c7389b8e56740033e51b36b79e61136b46002.zip |
#1459 Dashboard issues lacks sorting
Diffstat (limited to 'public')
-rwxr-xr-x | public/css/gogs.css | 16 | ||||
-rw-r--r-- | public/less/_dashboard.less | 18 |
2 files changed, 24 insertions, 10 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index 8448d618fe..8c66cdb3f3 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -2554,17 +2554,23 @@ ol.linenums { height: 16px; vertical-align: middle; } +.dashboard.issues .filter.menu .item .text.truncate { + width: 85%; +} .dashboard.issues .filter.menu .item .floating.label { top: 7px; left: 90%; width: 15%; } -.dashboard.issues .filter.menu .item.active { - background-color: #4183c4; - color: #FFF; +.dashboard.issues .filter.menu .jump.item { + margin: 1px; + padding-right: 0; } -.dashboard.issues .filter.menu .item .text { - width: 85%; +.dashboard.issues .filter.menu .menu { + max-height: 300px; + overflow-x: auto; + right: 0!important; + left: auto!important; } .dashboard.issues .ui.right .head.menu { margin-top: -5px; diff --git a/public/less/_dashboard.less b/public/less/_dashboard.less index d1b194bdcb..19264b0953 100644 --- a/public/less/_dashboard.less +++ b/public/less/_dashboard.less @@ -17,6 +17,9 @@ .text { height: 16px; vertical-align: middle; + &.truncate { + width: 85%; + } } .floating.label { top: 7px; @@ -24,12 +27,17 @@ width: 15%; } } - .item.active { - background-color: #4183c4; - color: #FFF; + + // Sort + .jump.item { + margin: 1px; + padding-right: 0; } - .item .text { - width: 85%; + .menu { + max-height: 300px; + overflow-x: auto; + right: 0!important; + left: auto!important; } } .ui.right .head.menu { |