From a71efa56301fc71494db039a0748b02e511db7ef Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Fri, 17 Jun 2022 07:09:52 +0000 Subject: [PATCH] Merged r21642 to 4.2-stable (#36453). git-svn-id: https://svn.redmine.org/redmine/branches/4.2-stable@21649 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/stylesheets/application.css | 13 ++++++++++--- public/stylesheets/responsive.css | 11 ----------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index a268c2e2f..de1bfb3b7 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -528,7 +528,7 @@ p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; } .wiki-class-ltr {direction:ltr !important;} .wiki-class-rtl {direction:rtl !important;} -div.issue div.subject div div { padding-left: 16px; } +div.issue div.subject div div { padding-left: 16px; word-break: break-word; } div.issue div.subject p {margin: 0; margin-bottom: 0.1em; font-size: 90%; color: #999;} div.issue div.subject>div>p { margin-top: 0.5em; } div.issue div.subject h3 {margin: 0; margin-bottom: 0.1em;} @@ -546,11 +546,18 @@ body.controller-issues h2.inline-flex {padding-right: 0} #issue_tree table.issues, #relations table.issues { border: 0; } #issue_tree td.checkbox, #relations td.checkbox {display:none;} -#issue_tree td.subject, #relations td.subject {width: 50%;} #issue_tree td.buttons, #relations td.buttons {padding:0;} #issue_tree .issues-stat {font-size: 80%} #issue_tree .issues-stat .badge {bottom: initial;} - +#issue_tree .issue > td, #relations .issue > td, #issue_tree .issue .user { + text-overflow: ellipsis; /* if text exceeds its space, add ... */ + overflow: hidden; +} +#issue_tree .issue > td.subject, #relations .issue > td.subject { + 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 */ +} #trackers_description {display:none;} #trackers_description dt {font-weight: bold; text-decoration: underline;} #trackers_description dd {margin: 0; padding: 0 0 1em 0;} diff --git a/public/stylesheets/responsive.css b/public/stylesheets/responsive.css index a4902af67..4ac95ea8c 100644 --- a/public/stylesheets/responsive.css +++ b/public/stylesheets/responsive.css @@ -778,17 +778,6 @@ padding-right: 5px; } - #issue_tree .issue > td, #relations .issue > td, #issue_tree .issue .user { - text-overflow: ellipsis; /* if text exceeds its space, add ... */ - overflow: hidden; - } - - #issue_tree .issue > td.subject, #relations .issue > td.subject { - 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(.subject), #relations .issue > td:not(.subject) { width: 20%; /* three columns for all cells that are not subject */ } -- 2.39.5