From 4ad5d232824b390e40bb39a955c29b04b252f6ab Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 5 May 2011 19:29:46 +0100 Subject: [PATCH] Don't allow headings in the data browser to be split --- app/views/browse/_node_details.html.erb | 2 +- app/views/browse/_relation_details.html.erb | 2 +- app/views/browse/_way_details.html.erb | 2 +- public/stylesheets/common.css | 4 ++++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/views/browse/_node_details.html.erb b/app/views/browse/_node_details.html.erb index 7f584c9b3..148a71dea 100644 --- a/app/views/browse/_node_details.html.erb +++ b/app/views/browse/_node_details.html.erb @@ -1,4 +1,4 @@ - +
<%= render :partial => "common_details", :object => node_details %> diff --git a/app/views/browse/_relation_details.html.erb b/app/views/browse/_relation_details.html.erb index 3c17e63f6..95e1743b5 100644 --- a/app/views/browse/_relation_details.html.erb +++ b/app/views/browse/_relation_details.html.erb @@ -1,4 +1,4 @@ -
+
<%= render :partial => "common_details", :object => relation_details %> diff --git a/app/views/browse/_way_details.html.erb b/app/views/browse/_way_details.html.erb index e176f51a6..2b284cf3c 100644 --- a/app/views/browse/_way_details.html.erb +++ b/app/views/browse/_way_details.html.erb @@ -1,4 +1,4 @@ -
+
<%= render :partial => "common_details", :object => way_details %> diff --git a/public/stylesheets/common.css b/public/stylesheets/common.css index 65b430418..fc2294690 100644 --- a/public/stylesheets/common.css +++ b/public/stylesheets/common.css @@ -646,6 +646,10 @@ hr { margin-left: 10px; } +table.browse_details th { + white-space: nowrap; +} + #browse_map { float: right; width: 250px; -- 2.43.2