Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with Bootstrap's hidden-iphone class #5

Open
turadg opened this issue Apr 29, 2013 · 0 comments
Open

Incompatible with Bootstrap's hidden-iphone class #5

turadg opened this issue Apr 29, 2013 · 0 comments

Comments

@turadg
Copy link
Contributor

turadg commented Apr 29, 2013

When I'm at the top of the page:

<div id="sidebar" class="span4 hidden-phone" style="  position: sticky;  top: 40px;  right: 20px; ">

When I scroll down it sticks (good):

<div id="reader-sidebar" class="span4 hidden-phone stuck" style="  position: sticky;  top: 40px;  right: 20px; position:fixed;width:389px;height:347px">

When I scroll down farther, it disappears (bad):

<div id="reader-sidebar" class="span4 hidden-phone" style="  position, sticky;  top, 40px;  right, 20px; position,fixed;width,389px;height,347px">

It looks like two problems happen there. One is that it loses its stuck class and two is that the rules are written with commas in place of colons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant