]> git.openstreetmap.org Git - rails.git/commitdiff
Wrap text to make it more readable and adjust the padding on the intro
authorTom Hughes <tom@compton.nu>
Wed, 11 Feb 2009 00:16:00 +0000 (00:16 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 11 Feb 2009 00:16:00 +0000 (00:16 +0000)
box to remove the extra space created by addition of paragraph tags.

app/views/layouts/site.rhtml
public/stylesheets/site.css

index 7e224b4c6a9f61c1949979c0a3e31982f625e86c..91fcea0ea42fd9618c8acd9e489b138f19fbc1a4 100644 (file)
 
       <% unless @user %>
       <div id="intro">
 
       <% unless @user %>
       <div id="intro">
-        <p>OpenStreetMap is a free editable map of the whole world. It is made by people like you.</p>
-        <p>OpenStreetMap allows you to view, edit and use geographical data in a collaborative way from anywhere on Earth.</p>
         <p>
         <p>
-          OpenStreetMap's hosting is kindly supported by the <a href="http://www.vr.ucl.ac.uk">UCL VR Centre</a> and <a href="http://www.bytemark.co.uk">bytemark</a>.
+          OpenStreetMap is a free editable map of the whole world. It
+          is made by people like you.
+        </p>
+        <p>
+          OpenStreetMap allows you to view, edit and use geographical
+          data in a collaborative way from anywhere on Earth.
+        </p>
+        <p>
+          OpenStreetMap's hosting is kindly supported by the
+          <a href="http://www.vr.ucl.ac.uk">UCL VR Centre</a> and
+          <a href="http://www.bytemark.co.uk">bytemark</a>.
         </p>
       </div>
       <% end %>
         </p>
       </div>
       <% end %>
index dbbddaa63486ace41bd5fab6883bbf49238cb6b4..c0f4182a4c34cd3f7584ba099e36d8b3d286a522 100644 (file)
@@ -66,7 +66,7 @@ body {
 #intro {
   width: 150px;
   margin: 10px;
 #intro {
   width: 150px;
   margin: 10px;
-  padding: 10px;
+  padding: 0px 10px;
   border: 1px solid #ccc;
   font-size: 11px;
 }
   border: 1px solid #ccc;
   font-size: 11px;
 }