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

.container produces horizontal scroll bar for min-width: 75em #253

Open
ashour opened this issue Jul 19, 2017 · 1 comment
Open

.container produces horizontal scroll bar for min-width: 75em #253

ashour opened this issue Jul 19, 2017 · 1 comment

Comments

@ashour
Copy link

ashour commented Jul 19, 2017

Found this issue when trying to use .container to have a centred, limited-width layout container. Normally and at all sizes the layout container should not result in any horizontal scrolling. For 75em, however, right at the breakpoint, a horizontal scrollbar pops up in the browser.

Here's some test code that reproduces the issue:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Grid Container Test</title>
    <link rel="stylesheet" href="flexboxgrid.css">
    <style>
        .box { background-color: orange; height: 1em; }
    </style>
</head>
<body>
    <div class="container">
        <div class="row">
            <div class="col-xs-12 col-md-4"><div class="box"></div></div>
            <div class="col-xs-12 col-md-8"><div class="box"></div></div>
        </div>
    </div>
</body>
</html>
  • OS: macOS Sierra 10.12.5
  • Browser: Chrome 59.0.3071.115
@imevro
Copy link

imevro commented Aug 2, 2017

Seems like flexboxgrid was abandoned by @kristoferjoseph, so I forked project and made flexboxgrid2.

What is already done:

flexboxgrid2 right now is alpha5, so if you can test it and fills issues (or PRs!) I'll be very grateful.

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