##// END OF EJS Templates
Add autoscroll div for each file diff....
Jean-Philippe Lang -
r1002:49bdf62243dc
parent child
Show More
@@ -11,9 +11,9
11 11 <%= select_tag 'type', options_for_select([[l(:label_diff_inline), "inline"], [l(:label_diff_side_by_side), "sbs"]], @diff_type), :onchange => "if (this.value != '') {this.form.submit()}" %></p>
12 12 <% end %>
13 13
14 <div class="autoscroll">
15 14 <% cache(@cache_key) do %>
16 15 <% @diff.each do |table_file| %>
16 <div class="autoscroll">
17 17 <% if @diff_type == 'sbs' %>
18 18 <table class="filecontent CodeRay">
19 19 <thead>
@@ -84,9 +84,9
84 84 </tbody>
85 85 </table>
86 86 <% end %>
87 </div>
87 88 <% end %>
88 89 <% end %>
89 </div>
90 90
91 91 <% content_for :header_tags do %>
92 92 <%= stylesheet_link_tag "scm" %>
@@ -123,7 +123,7 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
123 123 textarea.wiki-edit { width: 99%; }
124 124 li p {margin-top: 0;}
125 125 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
126 .autoscroll {overflow-x: auto; padding:1px; width:100%;}
126 .autoscroll {overflow-x: auto; padding:1px; width:100%; margin-bottom: 1.2em;}
127 127 #user_firstname, #user_lastname, #user_mail, #my_account_form select { width: 90%; }
128 128
129 129 /***** Tabular forms ******/
General Comments 0
You need to be logged in to leave comments. Login now