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

very simple layout creates unnecessary margin #33

Open
bzx opened this issue Mar 20, 2013 · 1 comment
Open

very simple layout creates unnecessary margin #33

bzx opened this issue Mar 20, 2013 · 1 comment
Milestone

Comments

@bzx
Copy link

bzx commented Mar 20, 2013

Hello,

I am working on a very simple page layout example with Preboot's grid and right away it's creating unnecessary margin on right hand side, which causes vertical scrollbar to appear. I don't understand why the right margin is set like that.

Here's the example with default Preboot stylesheet (I skipped outer tags from HTML, and I'm using doctype for html5):

HTML:
<div class="wrap">
  <div class="main">main content</div>
  <aside>sidebar</aside>
</div>

CSS:
.wrap {
  .make-row();
}
.main {
  background: blue;
  .make-column(9);
}
aside {
  background: orange;
  .make-column(3);
}
@domicoeth
Copy link

I had this same problem briefly; you just need overflow:hidden on a wrapper around the row/s. It doesn't work on the a div with .make-row().

@mdo mdo added this to the v3.0.0 milestone Jul 2, 2015
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

3 participants