Feature #27672 » fix-broken-style-v2.patch
app/views/gantts/show.html.erb | ||
---|---|---|
141 | 141 | |
142 | 142 |
<table class='gantt-table'> |
143 | 143 |
<tr> |
144 |
<td style="width:<%= subject_width %>px;" class="gantt_subjects_column">
|
|
144 |
<td style="width:<%= @query.draw_selected_columns ? subject_width + 1 : subject_width + 2 %>px;" class="gantt_subjects_column">
|
|
145 | 145 |
<% |
146 | 146 |
style = "" |
147 | 147 |
style += "position:relative;" |
148 | 148 |
style += "height: #{t_height + 24}px;" |
149 |
style += "width: #{subject_width}px;" |
|
149 |
style += "width: #{subject_width + 1}px;"
|
|
150 | 150 |
%> |
151 | 151 |
<%= content_tag(:div, :style => style, :class => "gantt_subjects_container #{'draw_selected_columns' if @query.draw_selected_columns}") do %> |
152 | 152 |
<% |
... | ... | |
159 | 159 |
<% |
160 | 160 |
style = "" |
161 | 161 |
style += "z-index: 1;" |
162 |
style += "width: #{subject_width}px;" |
|
162 |
style += "width: #{subject_width + 1}px;"
|
|
163 | 163 |
style += "height: #{t_height}px;" |
164 | 164 |
style += 'overflow: hidden;' |
165 | 165 |
%> |
public/stylesheets/application.css | ||
---|---|---|
1324 | 1324 |
top: 50%; |
1325 | 1325 |
width:100%; |
1326 | 1326 |
transform: translateY(-50%); |
1327 |
-webkit- transform: translateY(-50%);
|
|
1327 |
-webkit-transform: translateY(-50%); |
|
1328 | 1328 |
font-size: 0.8em; |
1329 | 1329 |
overflow: hidden; |
1330 | 1330 |
text-overflow: ellipsis; |
1331 | 1331 |
white-space: nowrap; |
1332 | ||
1333 | 1332 |
} |
1334 |
td.gantt_selected_column, td.gantt_selected_column .gantt_hdr,.gantt_selected_column_container {
|
|
1333 |
td.gantt_selected_column { |
|
1335 | 1334 |
width: 50px; |
1336 | 1335 |
} |
1336 |
td.gantt_selected_column .gantt_hdr,.gantt_selected_column_container { |
|
1337 |
width: 49px; |
|
1338 |
} |
|
1337 | 1339 | |
1338 | 1340 |
.task { |
1339 | 1341 |
position: absolute; |
public/stylesheets/responsive.css | ||
---|---|---|
712 | 712 |
.gantt_subjects_column .gantt_hdr { |
713 | 713 |
width: 100% !important; |
714 | 714 |
right: 0 !important; /* [2] */ |
715 |
border-right: solid 1px #c0c0c0; |
|
715 | 716 |
} |
716 | 717 | |
717 | 718 |
#gantt_area { |
- « Previous
- 1
- …
- 12
- 13
- 14
- Next »