I'm using five-star on my newly launched site www.dance-ottawa.com, and I'm quite pleased with it.
But i have a tiny problem. If display a 5 star field in a table, the content doesnt seem to wrap, forcing the poll to take a large portion of my table column space.
If you go to my site and look at www.dance-ottawa.com/dance-schools-studios you will see what i mean:
A typical 5-star field says
Your rating: None Average: 3 (1 vote)
Is there a way I can get it to break into 2 lines as follows:
Your rating: None
Average: 3 (1 vote)
or better yet:
Your rating: None
Average: 3
(1 vote)
I looked at the source code for the generated page, and it appears to have white space between the various text portions, but refuses to wrap at that whitespace. :(
Comments
Comment #1
quicksketchIt's hard to see what you're describing since I'm not logged into your site (and therefor cannot rate). However I can guess why this is occurring. My guess is that your theme is preventing white space from wrapping by including a
white-space: nowrap;somewhere in your CSS. This causes text not to wrap as you are describing. Oddly I think a lot of reports were filed claiming the opposite was a bug (Fivestar *was* wrapping). Either way, it's not a bug, it's the CSS that's been added by your theme that is causing this behavior, and what you want should be accounted for there.Comment #2
dbt102 commentedDrupal 6 is now end of life, and is no longer supported. So Drupal 6 issues for Fivestar are being closed as "Closed (won't fix)". However, we don't want users who are porting from Drupal 6 to 7 to feel unwanted, so if you have any migration issues, please open them as Drupal 8 issues.