ouija-io / ouija

Communicating with ghosts
http://ouija.io
BSD 3-Clause "New" or "Revised" License
128 stars 14 forks source link

Authentication button invisible but clickable when Ouija is closed #33

Closed jonwgeorge closed 10 years ago

jonwgeorge commented 10 years ago

The "Sign in with Twitter" button is invisible but clickable when Ouija is closed and there are zero comments on that section.

Not sure if this is just because I'm using custom CSS to make Ouija work with my theme, but to duplicate:

You'll see the link https://auth.goinstant.net/begin?account=jonwgeorge&app=ouija&returnTo=http%3A%2F%2Fwww.jonwgeorge.com%2Fwhat-is-open-source-and-why-should-you-care%2F&providerName=twitter but will be unable to actually see the button.

This works on any

element without a previous comment.

colinmacdonald commented 10 years ago

@ntassone I see this happening on casper with only default styles too. Can we display: none when the comments are not visible to prevent this?

ntassone commented 10 years ago

Yeah, visibility: hidden will probably work better and not interfere with the transition like display: none would. Or maybe pushing the z-index down. Will test and make a PR.