##// 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 <%= 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>
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 <% end %>
12 <% end %>
13
13
14 <div class="autoscroll">
15 <% cache(@cache_key) do %>
14 <% cache(@cache_key) do %>
16 <% @diff.each do |table_file| %>
15 <% @diff.each do |table_file| %>
16 <div class="autoscroll">
17 <% if @diff_type == 'sbs' %>
17 <% if @diff_type == 'sbs' %>
18 <table class="filecontent CodeRay">
18 <table class="filecontent CodeRay">
19 <thead>
19 <thead>
@@ -84,9 +84,9
84 </tbody>
84 </tbody>
85 </table>
85 </table>
86 <% end %>
86 <% end %>
87 </div>
87 <% end %>
88 <% end %>
88 <% end %>
89 <% end %>
89 </div>
90
90
91 <% content_for :header_tags do %>
91 <% content_for :header_tags do %>
92 <%= stylesheet_link_tag "scm" %>
92 <%= stylesheet_link_tag "scm" %>
@@ -123,7 +123,7 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
123 textarea.wiki-edit { width: 99%; }
123 textarea.wiki-edit { width: 99%; }
124 li p {margin-top: 0;}
124 li p {margin-top: 0;}
125 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
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 #user_firstname, #user_lastname, #user_mail, #my_account_form select { width: 90%; }
127 #user_firstname, #user_lastname, #user_mail, #my_account_form select { width: 90%; }
128
128
129 /***** Tabular forms ******/
129 /***** Tabular forms ******/
General Comments 0
You need to be logged in to leave comments. Login now