From 603c7389b8e56740033e51b36b79e61136b46002 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 4 Nov 2015 12:50:02 -0500 Subject: #1459 Dashboard issues lacks sorting --- public/css/gogs.css | 16 +++++++++++----- public/less/_dashboard.less | 18 +++++++++++++----- 2 files changed, 24 insertions(+), 10 deletions(-) (limited to 'public') 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 { -- cgit v1.2.3