Skip to content

very simple layout creates unnecessary margin #33

Description

@bzx

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);
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions