Project

General

Profile

Defect #32125 » fix-32125.patch

Mizuki ISHIKAWA, 2019-11-20 05:03

View differences:

app/controllers/auto_completes_controller.rb
56 56
    issues.map {|issue|
57 57
      {
58 58
        'id' => issue.id,
59
        'label' => "#{issue.tracker} ##{issue.id}: #{issue.subject.to_s.truncate(60)}",
59
        'label' => "#{issue.tracker} ##{issue.id}: #{issue.subject}",
60 60
        'value' => issue.id
61 61
      }
62 62
    }
public/stylesheets/application.css
1612 1612
.ui-menu.ui-widget-content {background:#fff;}
1613 1613
.ui-menu .ui-menu-item:hover {font-weight:normal; color:#555; background:#759FCF; color:#fff !important; border:1px solid #759FCF;}
1614 1614
.ui-menu .ui-menu-item.ui-state-focus {font-weight:normal; color:#555; border-color:#759FCF;}
1615
.ui-menu .ui-menu-item {
1616
  max-width: 400px;
1617
  white-space: nowrap;
1618
  text-overflow: ellipsis;
1619
  overflow: hidden;
1620
}
1615 1621

  
1616 1622
/* Custom tribute styles */
1617 1623
.tribute-container ul {
......
1620 1626
  border-radius: 2px;
1621 1627
}
1622 1628
.tribute-container li.highlight {background-color: #759FCF; color:#fff;}
1629
.tribute-container li {
1630
  max-width: 400px;
1631
  white-space: nowrap;
1632
  text-overflow: ellipsis;
1633
  overflow: hidden;
1634
}
1623 1635

  
1624 1636
/************* Rouge styles *************/
1625 1637
/* generated by: pygmentize -f html -a .syntaxhl -S colorful */
(2-2/5)