Hi Dale,
I have been investigating this issue for a bit of time now, and I've come to the conclusion that the reason the date columns wrap comes down to Internet Explorer's specific way of determining table column widths. None of Safari, Firefox and Opera exhibit the same behaviour under the current circumstances.
The question of "Why does Internet Explorer do this?" is a difficult one to answer, since it's hard to get that kind of information. Here's what we know:
- we specify a "1%" width for all of the header cells in the table and "20%" width for the summary text cells.
- the status, resolution, assignee, reporter and issue key columns are set to have their text not wrap (white-space: nowrap)
- notice that the created, updated and due date columns are absent from the above list
So my theory is, because we have specified explicit widths for all columns, but the widths do not add up to 100%, Internet Explorer needs to decide what to do with the excess width, and perhaps because the summary column has a far larger width than the rest, it decides to add the bulk of it there, and since the created and updated columns are allowed to have their text wrapped, it does not mind shrinking them down to a size which will make them wrap. This is of course highly speculative.
In terms of coming up with a solution to this problem which will solve it in every case, this would be a very difficult task, due to the configurable nature of the issue navigator and the arbitrary nature of the data to be displayed. However, if you want to guarantee for your issue navigator that certain columns will not have their values wrapped, we can achieve this with a simple CSS change. I have attached a patched version of the global-static-min.css file from JIRA 3.12.2 which contains the following modification:
Using this new file will ensure that the created, updated and due date columns do not have their values wrapped. Of course, you should only use this patched file if your original CSS file has not been modified, otherwise you will lose your changes. Also note that the attached file has been minified, which means it will not be easy to modify by hand, so if you need to make additional modifications, you will need to do the following:
- modify the global-static.css file in /src/webapp/styles
- minify the file and write the output to global-static-min.css
- restart JIRA
Also note that to apply the patched file that I have provided, you will need to restart JIRA and flush your browser's cache.
I hope this helps you solve your problem.
Cheers,
Michael Tokar [Atlassian]
For 4.4 onward, the problem now lies in Summary being wrapped. I found 6034, which STILL isnt fix and I was wondering if there is a CSS File i can change to make it work.