wrong but wromantic (
sally_maria) wrote in
style_system2011-03-20 03:22 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
Entry tags:
Extra spaces in my tag list
Last year, I posted about getting a comma-separated list for my tags, and somebody helped me to sort it out.
Somehow, though, changes in the site or my layout mean that it no longer works quite right, and I was hoping somebody might help me to fix it.
The problem is with the commas after each item - there is always a space first, so the commas look rather odd.
At the moment I'm using
.module-tags_cloud .module-list-item { font-size: 12pt !important; }
.module-tags_cloud .module-list-item:after{content: ", "; }
.module-tags_cloud .module-list-item:last-child:after{content: " "; }
Thank you for any help you can give me.
Somehow, though, changes in the site or my layout mean that it no longer works quite right, and I was hoping somebody might help me to fix it.
The problem is with the commas after each item - there is always a space first, so the commas look rather odd.
At the moment I'm using
.module-tags_cloud .module-list-item { font-size: 12pt !important; }
.module-tags_cloud .module-list-item:after{content: ", "; }
.module-tags_cloud .module-list-item:last-child:after{content: " "; }
Thank you for any help you can give me.
no subject
no subject
no subject
Try this:
.module-tags_cloud .module-list-item { font-size: 12pt !important; }
.module-tags_cloud .module-list-item:after{content: ","!important; margin-left:-.2em!important;}
.module-tags_cloud .module-list-item:last-child:after { content: ""!important;}
Not only fixes the problem but that last line removes the last comma, too (I went to town on this one - hope it works).
Re: Try this:
There's still one comma that insists on wrapping itself to the beginning of the next line, but it's such an improvement.
Re: Try this:
Re: Try this:
I think it's all about which system font you are using, and how that works with the fixed size of the side-bar, if a line happens to be too long, it wraps onto the next line.
Honestly, this looks so much better than it did before, I can live with one odd comma. Thank you very much for sorting this out for me.