]> git.openstreetmap.org Git - rails.git/commitdiff
Don't allow headings in the data browser to be split
authorTom Hughes <tom@compton.nu>
Thu, 5 May 2011 18:29:46 +0000 (19:29 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 5 May 2011 19:25:57 +0000 (20:25 +0100)
app/views/browse/_node_details.html.erb
app/views/browse/_relation_details.html.erb
app/views/browse/_way_details.html.erb
public/stylesheets/common.css

index 7f584c9b34f4556b45e8ffbb518ebf016c6c395b..148a71dea9ae1f3aa48da2d36b338756cd650bdb 100644 (file)
@@ -1,4 +1,4 @@
-<table id="<%= node_details.version %>">
+<table class="browse_details" id="<%= node_details.version %>">
 
   <%= render :partial => "common_details", :object => node_details %>
 
index 3c17e63f63a2ecc07888c1b403d2b21bf7d51566..95e1743b5dfa8d90100650e2e96a0f3d9c7a6816 100644 (file)
@@ -1,4 +1,4 @@
-<table id="<%= relation_details.version %>">
+<table class="browse_details" id="<%= relation_details.version %>">
 
   <%= render :partial => "common_details", :object => relation_details %>
 
index e176f51a6a291d0c4898dbc17949855801d26002..2b284cf3c92df597b40b1448b88002990d329ad0 100644 (file)
@@ -1,4 +1,4 @@
-<table id="<%= way_details.version %>">
+<table class="browse_details" id="<%= way_details.version %>">
 
   <%= render :partial => "common_details", :object => way_details %>
 
index 65b43041863547152b4b0f370aa6606f41908805..fc2294690c6ca7a03765cbf31c2e5bff088db22f 100644 (file)
@@ -646,6 +646,10 @@ hr {
   margin-left: 10px;
 }
 
+table.browse_details th {
+  white-space: nowrap;
+}
+
 #browse_map {
   float: right;
   width: 250px;