Project

General

Profile

Defect #32125 » fix-32125.patch

Mizuki ISHIKAWA, 2019-11-20 05:03

View differences:

app/controllers/auto_completes_controller.rb
issues.map {|issue|
{
'id' => issue.id,
'label' => "#{issue.tracker} ##{issue.id}: #{issue.subject.to_s.truncate(60)}",
'label' => "#{issue.tracker} ##{issue.id}: #{issue.subject}",
'value' => issue.id
}
}
public/stylesheets/application.css
.ui-menu.ui-widget-content {background:#fff;}
.ui-menu .ui-menu-item:hover {font-weight:normal; color:#555; background:#759FCF; color:#fff !important; border:1px solid #759FCF;}
.ui-menu .ui-menu-item.ui-state-focus {font-weight:normal; color:#555; border-color:#759FCF;}
.ui-menu .ui-menu-item {
max-width: 400px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
/* Custom tribute styles */
.tribute-container ul {
......
border-radius: 2px;
}
.tribute-container li.highlight {background-color: #759FCF; color:#fff;}
.tribute-container li {
max-width: 400px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
/************* Rouge styles *************/
/* generated by: pygmentize -f html -a .syntaxhl -S colorful */
(2-2/5)