summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-05-13 07:21:07 +0000
committerGo MAEDA <maeda@farend.jp>2020-05-13 07:21:07 +0000
commitc37a45d1c3539a89c09f524f5998dbdfa0539323 (patch)
tree7ff0dad353ec5e6a7f47fa58611a5cf4f54d4d4b
parentf61f19518fd321d57e89d113b4ca15ecdc7ef00e (diff)
downloadredmine-c37a45d1c3539a89c09f524f5998dbdfa0539323.tar.gz
redmine-c37a45d1c3539a89c09f524f5998dbdfa0539323.zip
Revert r19771 due to the incorrect issue number in the commit message.
git-svn-id: http://svn.redmine.org/redmine/trunk@19772 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/controllers/auto_completes_controller.rb2
-rw-r--r--public/stylesheets/application.css1
2 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/auto_completes_controller.rb b/app/controllers/auto_completes_controller.rb
index 3b87d9e81..c0a0c242a 100644
--- a/app/controllers/auto_completes_controller.rb
+++ b/app/controllers/auto_completes_controller.rb
@@ -56,7 +56,7 @@ class AutoCompletesController < ApplicationController
issues.map {|issue|
{
'id' => issue.id,
- 'label' => "#{issue.tracker} ##{issue.id}: #{issue.subject.to_s.truncate(255)}",
+ 'label' => "#{issue.tracker} ##{issue.id}: #{issue.subject.to_s.truncate(60)}",
'value' => issue.id
}
}
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 278d10450..954006bed 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -1638,7 +1638,6 @@ img.filecontent.image {background-image: url(../images/transparent.png);}
}
.ui-autocomplete .ui-menu-item > div {
padding: 4px 8px;
- max-width: 500px;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
border-color: #759FCF;