Make commits-widget contents fill its container, and improve layout on dashboard

This commit is contained in:
Neil Lalonde
2013-04-17 10:25:28 -04:00
parent b81da5ee66
commit d67682ff6c
2 changed files with 8 additions and 12 deletions

View File

@ -30,7 +30,7 @@ Discourse.GithubCommit.reopenClass({
Discourse.ajax( "https://api.github.com/repos/discourse/discourse/commits?callback=callback", {
dataType: 'jsonp',
type: 'get',
data: { per_page: 25 }
data: { per_page: 40 }
}).then(function (response) {
response.data.each(function(commit) {
result.pushObject( Discourse.GithubCommit.create(commit) );