projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
bdee581
)
Don't allow headings in the data browser to be split
author
Tom Hughes
<tom@compton.nu>
Thu, 5 May 2011 18:29:46 +0000
(19:29 +0100)
committer
Tom Hughes
<tom@compton.nu>
Thu, 5 May 2011 19:25:57 +0000
(20:25 +0100)
app/views/browse/_node_details.html.erb
patch
|
blob
|
history
app/views/browse/_relation_details.html.erb
patch
|
blob
|
history
app/views/browse/_way_details.html.erb
patch
|
blob
|
history
public/stylesheets/common.css
patch
|
blob
|
history
diff --git
a/app/views/browse/_node_details.html.erb
b/app/views/browse/_node_details.html.erb
index 7f584c9b34f4556b45e8ffbb518ebf016c6c395b..148a71dea9ae1f3aa48da2d36b338756cd650bdb 100644
(file)
--- a/
app/views/browse/_node_details.html.erb
+++ b/
app/views/browse/_node_details.html.erb
@@
-1,4
+1,4
@@
-<table id="<%= node_details.version %>">
+<table
class="browse_details"
id="<%= node_details.version %>">
<%= render :partial => "common_details", :object => node_details %>
<%= 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 3c17e63f63a2ecc07888c1b403d2b21bf7d51566..95e1743b5dfa8d90100650e2e96a0f3d9c7a6816 100644
(file)
--- a/
app/views/browse/_relation_details.html.erb
+++ b/
app/views/browse/_relation_details.html.erb
@@
-1,4
+1,4
@@
-<table id="<%= relation_details.version %>">
+<table
class="browse_details"
id="<%= relation_details.version %>">
<%= render :partial => "common_details", :object => relation_details %>
<%= 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 e176f51a6a291d0c4898dbc17949855801d26002..2b284cf3c92df597b40b1448b88002990d329ad0 100644
(file)
--- a/
app/views/browse/_way_details.html.erb
+++ b/
app/views/browse/_way_details.html.erb
@@
-1,4
+1,4
@@
-<table id="<%= way_details.version %>">
+<table
class="browse_details"
id="<%= way_details.version %>">
<%= render :partial => "common_details", :object => way_details %>
<%= render :partial => "common_details", :object => way_details %>
diff --git
a/public/stylesheets/common.css
b/public/stylesheets/common.css
index 65b43041863547152b4b0f370aa6606f41908805..fc2294690c6ca7a03765cbf31c2e5bff088db22f 100644
(file)
--- a/
public/stylesheets/common.css
+++ b/
public/stylesheets/common.css
@@
-646,6
+646,10
@@
hr {
margin-left: 10px;
}
margin-left: 10px;
}
+table.browse_details th {
+ white-space: nowrap;
+}
+
#browse_map {
float: right;
width: 250px;
#browse_map {
float: right;
width: 250px;