Skip to content

Commit

Permalink
layout tweaks and limit of description length
Browse files Browse the repository at this point in the history
  • Loading branch information
EgbertW committed Sep 28, 2015
1 parent b607d95 commit 1dec6f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions assets/javascripts/planning.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ PlanningIssue.prototype._showTooltip = function ()
desc = prev.replace(/([^\s&\-]{10,})([^\s&\-]{10,})/g, "$1­$2");
}

// Limit length of description
if (desc.length > 1024)
desc = desc.substring(0, 1024);

var prj_url = redmine_planning_settings.urls.root + 'projects/' + this.project_identifier;
url = redmine_planning_settings.urls.root + 'issues/' + this.id;

Expand Down
2 changes: 1 addition & 1 deletion assets/stylesheets/planning.css
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ div.planning_tooltip
background-color: #fff;
padding: 5;
font-size: 8pt;
width: 200px;
width: 300px;
z-index: 100;
padding: 5px;

Expand Down

0 comments on commit 1dec6f7

Please sign in to comment.