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

Zooming looks broken with responsive design #2002

Closed
shvechikov opened this issue Feb 15, 2012 · 3 comments
Closed

Zooming looks broken with responsive design #2002

shvechikov opened this issue Feb 15, 2012 · 3 comments

Comments

@shvechikov
Copy link

How to reproduce:

  • open http://twitter.github.com/bootstrap/
  • shrink browser window to ~800px width -> bootstrap gracefully adopts design to that width
  • zoom to 200-300% and more and you'll see horizontal scrollbar appears at the bottom

It looks like bootstrap gets real width of the window ignoring current zoom level. But on width 800 and 200% zoom level design should look like at 400px width.

As I remember it seems like in older versions zoom worked correctly with responsive design.

@mdo
Copy link
Member

mdo commented Feb 17, 2012

Our media queries don't work like that, and I don't even think media queries in general work like that. Once you resize your browser, the queries kick in—page zoom is something entirely different. What you're seeing is the intended behavior in that regard.

@mdo mdo closed this as completed Feb 17, 2012
@steveluscher
Copy link

FWIW, we just received a bug report on our own web property due to this exact issue. Mark is correct though, the zoom level doesn't (nor should it) participate in the calculation of viewport width. If it did, then simply zooming into a webpage might change the layout as new media queries came into effect – a wholly undesirable effect if all you wanted to do was zoom into one spot to be able to see it more clearly.

@xydonga
Copy link

xydonga commented Nov 17, 2014

http://getbootstrap.com/examples/non-responsive/

This page once you zoom to 200% Navbar Menu will disappear ,
How to handle that ?

@twbs twbs locked and limited conversation to collaborators Nov 18, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants