Defect #32889 » move_style_from_view_to_css.patch
app/helpers/issues_helper.rb | ||
---|---|---|
124 | 124 |
link_to_issue( |
125 | 125 |
child, |
126 | 126 |
:project => (issue.project_id != child.project_id)), |
127 |
:class => 'subject', :style => 'width: 50%') +
|
|
127 |
:class => 'subject') + |
|
128 | 128 |
content_tag('td', h(child.status), :class => 'status') + |
129 | 129 |
content_tag('td', format_date(child.start_date), :class => 'start_date') + |
130 | 130 |
content_tag('td', format_date(child.due_date), :class => 'due_date') + |
... | ... | |
179 | 179 |
other, |
180 | 180 |
:project => Setting.cross_project_issue_relations?) |
181 | 181 |
}.html_safe, |
182 |
:class => 'subject', |
|
183 |
:style => 'width: 50%') + |
|
182 |
:class => 'subject') + |
|
184 | 183 |
content_tag('td', other_issue.status, :class => 'status') + |
185 | 184 |
content_tag('td', format_date(other_issue.start_date), :class => 'start_date') + |
186 | 185 |
content_tag('td', format_date(other_issue.due_date), :class => 'due_date') + |
public/stylesheets/application.css | ||
---|---|---|
529 | 529 | |
530 | 530 |
#issue_tree table.issues, #relations table.issues { border: 0; } |
531 | 531 |
#issue_tree td.checkbox, #relations td.checkbox {display:none;} |
532 |
#relations td.buttons, #issue_tree td.buttons {padding:0;} |
|
532 |
#issue_tree td.subject, #relations td.subject {width: 50%;} |
|
533 |
#issue_tree td.buttons, #relations td.buttons {padding:0;} |
|
533 | 534 | |
534 | 535 |
#trackers_description {display:none;} |
535 | 536 |
#trackers_description dt {font-weight: bold; text-decoration: underline;} |
public/stylesheets/responsive.css | ||
---|---|---|
797 | 797 |
} |
798 | 798 | |
799 | 799 |
#issue_tree .issue > td.subject, #relations .issue > td.subject { |
800 |
width: 100% !important; /* let subject have one full width column */
|
|
800 |
width: 100%; /* let subject have one full width column */ |
|
801 | 801 |
word-break: break-word; /* break word if subject is too long */ |
802 | 802 |
padding-right: 25px; /* this is the spaces that .buttons uses next to subject */ |
803 | 803 |
} |
804 | 804 | |
805 |
#issue_tree .issue > td:not(.checkbox), #relations .issue > td:not(.checkbox) {
|
|
805 |
#issue_tree .issue > td:not(.subject), #relations .issue > td:not(.subject) {
|
|
806 | 806 |
width: 33.33%; /* three columns for all cells that are not subject */ |
807 | 807 |
} |
808 | 808 |