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

navbar-form on mobile device breaks to new line #5613

Closed
rinseringma opened this issue Oct 23, 2012 · 1 comment
Closed

navbar-form on mobile device breaks to new line #5613

rinseringma opened this issue Oct 23, 2012 · 1 comment

Comments

@rinseringma
Copy link

Hello all,

I have a navbar with an image on the left side acting as a button. When you click it, the form (2 input field) in front of it (hidden) will slide to the left. That's done with jQuery by setting the width of the div and so pushing the image/button to the left.

In normal mode (desktop/landscape tablet) the animation works perfectly, but on portrait mode on tablet and on mobile phones, the animation does it's job, but it's pushing the menu button from Bootstrap and the image/button to a second line.

What I want it to do is, when the form slides to the left, I want it to stop when the image/button is against the side of the viewport/screen and the menu button to dissappear.

I have tried everything, but it doesn't seam to work. Is there someone who can help me with that?

Kind regards,

Rinse Ringma
The Netherlands

@mdo
Copy link
Member

mdo commented Oct 23, 2012

Sorry, but jsFiddle or bust I'm afraid. Unsure if we can help with that anyway since it's not a bug, but a custom implementation.

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

2 participants