From 40bc2003abfca725b4cccdd3cd80101d7b849e30 Mon Sep 17 00:00:00 2001 From: joshua stein Date: Fri, 6 Jul 2012 18:00:00 -0500 Subject: [PATCH] fit more on a page --- app/assets/stylesheets/application.css | 4 ++-- app/controllers/home_controller.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 9b40c67e..87ce90ed 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -361,8 +361,8 @@ li.downvoted div.voters a.downvoter { ol.stories li.story, ol.comments li.comment { clear: both; - padding-top: 0.5em; - padding-bottom: 0.5em; + padding-top: 0.4em; + padding-bottom: 0.4em; } ol.stories li:first-child { padding-top: 0.5em; diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index ee502a43..6c2dd98c 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -1,5 +1,5 @@ class HomeController < ApplicationController - STORIES_PER_PAGE = 20 + STORIES_PER_PAGE = 25 def index @stories = find_stories_for_user_and_tag_and_newest(@user, nil, false)