changeset 1345:1f9cdee56991 live

Layout adjustments
author Chris Cannam
date Fri, 21 Jun 2013 11:43:52 +0100
parents e5d5cb1bc3be
children befaf13fec0d
files app/controllers/welcome_controller.rb plugins/redmine_tags/assets/stylesheets/redmine_tags.css public/themes/soundsoftware/stylesheets/application.css
diffstat 3 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/app/controllers/welcome_controller.rb	Fri Jun 21 11:19:15 2013 +0100
+++ b/app/controllers/welcome_controller.rb	Fri Jun 21 11:43:52 2013 +0100
@@ -24,7 +24,7 @@
   def index
     @site_project = Project.find_by_identifier "soundsoftware-site"
     @site_news = []
-    @site_news = News.latest_for @site_project if @site_project
+    @site_news = News.latest_for(@site_project, 3) if @site_project
     
     # tests if user is logged in to generate the tips of the day list
     if User.current.logged?
--- a/plugins/redmine_tags/assets/stylesheets/redmine_tags.css	Fri Jun 21 11:19:15 2013 +0100
+++ b/plugins/redmine_tags/assets/stylesheets/redmine_tags.css	Fri Jun 21 11:43:52 2013 +0100
@@ -22,6 +22,7 @@
 ul.tags li { margin: .25em 0px; }
 
 div.tags { text-align: center; }
+div.tags h3 { text-align: left; }
 div.tags .tag-label { margin: .25em; }
 div.tags .tag-nube-1 { font-size: .8em; }
 div.tags .tag-nube-2 { font-size: .9em; }
--- a/public/themes/soundsoftware/stylesheets/application.css	Fri Jun 21 11:19:15 2013 +0100
+++ b/public/themes/soundsoftware/stylesheets/application.css	Fri Jun 21 11:43:52 2013 +0100
@@ -207,7 +207,7 @@
     float: right;
     width: 27%;
     margin-right: 3%;
-    margin-top: 2.5em;
+    margin-top: 1em;
     margin-left: 2em;
     margin-bottom: 2em;
 }