Feature #27672 » fix-broken-style-v2.patch
| app/views/gantts/show.html.erb | ||
|---|---|---|
|
<table class='gantt-table'>
|
||
|
<tr>
|
||
|
<td style="width:<%= subject_width %>px;" class="gantt_subjects_column">
|
||
|
<td style="width:<%= @query.draw_selected_columns ? subject_width + 1 : subject_width + 2 %>px;" class="gantt_subjects_column">
|
||
|
<%
|
||
|
style = ""
|
||
|
style += "position:relative;"
|
||
|
style += "height: #{t_height + 24}px;"
|
||
|
style += "width: #{subject_width}px;"
|
||
|
style += "width: #{subject_width + 1}px;"
|
||
|
%>
|
||
|
<%= content_tag(:div, :style => style, :class => "gantt_subjects_container #{'draw_selected_columns' if @query.draw_selected_columns}") do %>
|
||
|
<%
|
||
| ... | ... | |
|
<%
|
||
|
style = ""
|
||
|
style += "z-index: 1;"
|
||
|
style += "width: #{subject_width}px;"
|
||
|
style += "width: #{subject_width + 1}px;"
|
||
|
style += "height: #{t_height}px;"
|
||
|
style += 'overflow: hidden;'
|
||
|
%>
|
||
| public/stylesheets/application.css | ||
|---|---|---|
|
top: 50%;
|
||
|
width:100%;
|
||
|
transform: translateY(-50%);
|
||
|
-webkit- transform: translateY(-50%);
|
||
|
-webkit-transform: translateY(-50%);
|
||
|
font-size: 0.8em;
|
||
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
td.gantt_selected_column, td.gantt_selected_column .gantt_hdr,.gantt_selected_column_container {
|
||
|
td.gantt_selected_column {
|
||
|
width: 50px;
|
||
|
}
|
||
|
td.gantt_selected_column .gantt_hdr,.gantt_selected_column_container {
|
||
|
width: 49px;
|
||
|
}
|
||
|
.task {
|
||
|
position: absolute;
|
||
| public/stylesheets/responsive.css | ||
|---|---|---|
|
.gantt_subjects_column .gantt_hdr {
|
||
|
width: 100% !important;
|
||
|
right: 0 !important; /* [2] */
|
||
|
border-right: solid 1px #c0c0c0;
|
||
|
}
|
||
|
#gantt_area {
|
||
- « Previous
- 1
- …
- 12
- 13
- 14
- Next »