dfischer / betterfrontend

A community recommendation on how to make front-end development better. How-to, best-practices, and more.
http://www.betterfrontend.com
77 stars 10 forks source link

Hovering the #js-toc-sections-expand causes horizontal scrollbar to appear #24

Open dpashkevich opened 12 years ago

dpashkevich commented 12 years ago

This is due to the combination of the text-indent: -9999px; and 180 degree rotation on hover (so the text appears to be outside the right side of the screen.

https://github.com/hybridgroup/betterfrontend/blob/master/source/stylesheets/ui/ui.css.scss#L36

dfischer commented 11 years ago

I don't know how I missed this issue but I'm completely sorry and back on the project to be active.

I see what you're saying. What would be the best way to fix this? I can remove the animation for now.