diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2022-06-16 21:36:42 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2022-06-16 21:36:42 +0000 |
commit | fce5c3440708eb7c1f380a79d97e56460da0a05d (patch) | |
tree | f64b6bf3738120c3ded88accd1da5d0097345b42 /public | |
parent | 9c4df39c7dba5efcdce474f2fa65593fec8fa0dd (diff) | |
download | redmine-fce5c3440708eb7c1f380a79d97e56460da0a05d.tar.gz redmine-fce5c3440708eb7c1f380a79d97e56460da0a05d.zip |
Fix issue subject overflows in subtasks and relations tables (#36453).
Patch by Dmitry Makurin.
git-svn-id: https://svn.redmine.org/redmine/trunk@21642 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r-- | public/stylesheets/application.css | 13 | ||||
-rw-r--r-- | 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 6a043ff2f..6d7402f66 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -541,7 +541,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;} @@ -559,11 +559,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, #relations .issues-stat {font-size: 80%} #issue_tree .issues-stat .badge, #relations .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 9899a90c1..3d3a41fff 100644 --- a/public/stylesheets/responsive.css +++ b/public/stylesheets/responsive.css @@ -774,17 +774,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 */ } |