Tags don't fit in width

batbug2 - June 30, 2008 - 01:58
Project:TagTool
Version:5.x-1.2
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:reviewed & tested by the community
Description

First, thank you for this fantastic module, this is exactly what Drupal needs!

However I found a small annoying bug: i have a free-tagging vocabulary, width about 100 tags in it, and problem is that tags don't break, but stay on the same line, therefore overlapping everything on the page.

So i suggest adding "float:left;" property to the .tag-item in css, so that they would stay in the box
(I've attached screenshot with errorneous behaviour)

Sorry for my bad English

AttachmentSize
bug1.jpg88.19 KB

#1

jimyhuang - June 30, 2008 - 12:46
Status:needs review» fixed

Great, got your suggestion.
Commit to nightly build.

#2

Anonymous (not verified) - July 14, 2008 - 12:53
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

#3

Taxoman - October 8, 2008 - 10:01
Version:5.x-1.0» 5.x-1.2
Status:closed» active

I see the same issue with version 1.2.
In addition, the tags does not render nicely, partly overlapping each other (and/or too close to each other) in Firefox 3.0.1.

#4

jimyhuang - October 8, 2008 - 14:57

Seems display:inline issue.
Will remove in next release, or you can also using snapshot.

#5

kardave - October 20, 2008 - 09:41

Same problem, tag-list makes one long line except a tag contains white-space.

If you take a space between the spans, it woud be nice.

Example:
This all goes in one huge line:
<span>mytag</span><span>mytag</span><span>mytag</span><span>mytag</span>...

But this looks nice, making several lines:
<span>mytag</span> <span>mytag</span> <span>mytag</span> <span>mytag</span>

I could manage this by editing tagtool.js
I found the line $(this.popup).append(div);
and attached this line: $(this.popup).append(' ');

I hope the next coming release will containt this really tiny cosmetcs ;)

#6

jimyhuang - October 20, 2008 - 12:01
Status:active» reviewed & tested by the community

Very good point for my error.
Commit to head.

 
 

Drupal is a registered trademark of Dries Buytaert.