Project

General

Profile

Feature #27672 » fix-broken-style.patch

Mizuki ISHIKAWA, 2019-05-17 02:48

View differences:

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
1331 1331
  white-space: nowrap;
1332 1332

  
1333 1333
}
1334
td.gantt_selected_column, td.gantt_selected_column .gantt_hdr,.gantt_selected_column_container {
1334
td.gantt_selected_column {
1335 1335
  width: 50px;
1336 1336
}
1337
td.gantt_selected_column .gantt_hdr,.gantt_selected_column_container {
1338
  width: 49px;
1339
}
1337 1340

  
1338 1341
.task {
1339 1342
  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 {
(11-11/14)