Project

General

Profile

Actions

Defect #8809

closed

Table in timelog report overflows

Added by Hans Schmidt over 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
2011-07-14
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I think a screenshot says more than words: Spent_time_bug.PNG

The fix Spent_time_fix.PNG needs a <div> around the table.

File /{redmine_root}/app/views/time_entry_reports/report.rhtml

<p><%= l(:label_total) %>: <%= html_hours(l_hours(@total_hours)) %></p>
</div>

<% unless @hours.empty? %>

Line 41: + <div class="overflow-auto">

<table class="list" id="time-report">
<thead>
<tr>
<% @criterias.each do |criteria| %>
.
.
.
  <td class="hours"><%= html_hours("%.2f" % total) if total > 0 %></td>
  </tr>
</tbody>
</table>

Line 69: + </div>

<% other_formats_links do |f| %>
    <%= f.link_to 'CSV', :url => params %>
<% end %>
<% end %>
<% end %>

Add the CSS-Class "overflow-auto" to the theme

div.overflow-auto {
    overflow: auto;
}


Files

Spent_time_bug.PNG (11 KB) Spent_time_bug.PNG Hans Schmidt, 2011-07-14 09:55
Spent_time_fix.PNG (8.71 KB) Spent_time_fix.PNG Hans Schmidt, 2011-07-14 09:55
Actions

Also available in: Atom PDF