summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2020-04-05 09:51:11 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2020-04-05 09:51:11 +0000
commitf47ed1a5e22b87b304463a9305bd504a49e254e0 (patch)
tree64323f420865e80755796a50bfcf3e15b54d3781
parentd6734e62397fff3b806b67d521b1080f6fab03b1 (diff)
downloadredmine-f47ed1a5e22b87b304463a9305bd504a49e254e0.tar.gz
redmine-f47ed1a5e22b87b304463a9305bd504a49e254e0.zip
Move style to css (#32889).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19658 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/helpers/issues_helper.rb5
-rw-r--r--public/stylesheets/application.css3
-rw-r--r--public/stylesheets/responsive.css4
3 files changed, 6 insertions, 6 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 0a5abc8b2..f897bc13e 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -124,7 +124,7 @@ module IssuesHelper
link_to_issue(
child,
:project => (issue.project_id != child.project_id)),
- :class => 'subject', :style => 'width: 50%') +
+ :class => 'subject') +
content_tag('td', h(child.status), :class => 'status') +
content_tag('td', format_date(child.start_date), :class => 'start_date') +
content_tag('td', format_date(child.due_date), :class => 'due_date') +
@@ -179,8 +179,7 @@ module IssuesHelper
other,
:project => Setting.cross_project_issue_relations?)
}.html_safe,
- :class => 'subject',
- :style => 'width: 50%') +
+ :class => 'subject') +
content_tag('td', other_issue.status, :class => 'status') +
content_tag('td', format_date(other_issue.start_date), :class => 'start_date') +
content_tag('td', format_date(other_issue.due_date), :class => 'due_date') +
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index ecd6548fb..a7512bd48 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -535,7 +535,8 @@ div.issue.overdue .due-date .value { color: #c22; }
#issue_tree table.issues, #relations table.issues { border: 0; }
#issue_tree td.checkbox, #relations td.checkbox {display:none;}
-#relations td.buttons, #issue_tree td.buttons {padding:0;}
+#issue_tree td.subject, #relations td.subject {width: 50%;}
+#issue_tree td.buttons, #relations td.buttons {padding:0;}
#trackers_description {display:none;}
#trackers_description dt {font-weight: bold; text-decoration: underline;}
diff --git a/public/stylesheets/responsive.css b/public/stylesheets/responsive.css
index c3ba3eacb..167961f44 100644
--- a/public/stylesheets/responsive.css
+++ b/public/stylesheets/responsive.css
@@ -797,12 +797,12 @@
}
#issue_tree .issue > td.subject, #relations .issue > td.subject {
- width: 100% !important; /* let subject have one full width column */
+ width: 100%; /* let subject have one full width column */
word-break: break-word; /* break word if subject is too long */
padding-right: 25px; /* this is the spaces that .buttons uses next to subject */
}
- #issue_tree .issue > td:not(.checkbox), #relations .issue > td:not(.checkbox) {
+ #issue_tree .issue > td:not(.subject), #relations .issue > td:not(.subject) {
width: 33.33%; /* three columns for all cells that are not subject */
}