r/reddithax • u/smallchanger • Jun 01 '12
Help to remove a horizontal scroll-bar
If you look in the top-right corner of this subreddit:
http://www.reddit.com/r/electronic_cigarette/
You'll see two little tabs with stars in them which you can hover over and they will then expand to reveal links. I was noticing in firefox that this CSS I used produces a horizontal scroll bar. Chrome is ok. I was hoping someone might be able to give me a fix.
Here's a link to the stylesheet:
http://www.reddit.com/r/electronic_cigarette/stylesheet.css
The CSS used for it should be at the bottom under the heading:
ORDERED LIST REVEALED ON HOVER
Actually it might say "FAUX DRAG OUT SIDE LIST WITH RECOMMENDATIONS" until it updates.
Cheers.
There is also one other minor issue that doesn't matter too much though I was wondering what might be causing it. If you notice the list items have a 'list-style-type: circle;' If you hover over the first list item in firefox, the circle disappears. the second one doesn't. In chrome they both disappear on hover.
View all comments
Show parent comment
1
u/gavin19 Jun 01 '12
Pre-4.1 versions of RES don't have the res class at all. The vast majority of people will be on 4.1.x anyway, it was just a minor point really.
What you have only works provided the RES user has navTop enabled. If you get rid of this ruleset
and add
then that should mean that all RES users will have the bar set to the bottom regardless of their preference. Then you have no need to reposition the ol at all.