Opened 6 years ago
Closed 6 years ago
#13467 closed defect (fixed)
automatic line break is missing between keywords
Reported by: | Owned by: | Ryan J Ollos | |
---|---|---|---|
Priority: | normal | Component: | TracKeywordsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
Problem:
The browser does not perform automatic line break between keywords, which will cause the keyword list and the fieldset
container to overflow on the right hand side of the screen. One would rather expect that the list of keywords would break and continue on the next line.
Setup:
I am using
- Trac 1.0.4.
- Firefox browser.
- TracKeywordsPlugin 1.0.dev0
Reproduce:
Easy to reproduce. Create a very long keyword list preferably with very long keyword names.
Analyis:
I was able to trace this down to the trac_keywords.js
which actually build dynamically the keyword list. (In fact it is not a real <ol>
itemization list, just a bunch of a<>
anchor elements). I believe the easiest solution would be if the trac_keywords.js
would insert a space or carriage return between the a<>
anchor elements, this should allow automatic line breaks.
As of today no spaces are there:
<a>...</a><a>...</a><a>...</a>
Better insert spaces:
<a>...</a> <a>...</a> <a>...</a>
or even carriage return:
<a>...</a> <a>...</a> <a>...</a>
Unfortunately I am unable to provide a patch because my knowledge about Java Script and jQuery is rather limited.
Thanks Clemens
Attachments (0)
Change History (2)
comment:1 Changed 6 years ago by
Owner: | set to Ryan J Ollos |
---|---|
Status: | new → accepted |
comment:2 Changed 6 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
In 17252: