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

$gel-grid-enable--box-sizing: true; not enough for the grid #42

Open
dagda1 opened this issue Jan 20, 2018 · 0 comments
Open

$gel-grid-enable--box-sizing: true; not enough for the grid #42

dagda1 opened this issue Jan 20, 2018 · 0 comments

Comments

@dagda1
Copy link

dagda1 commented Jan 20, 2018

I have the following main.scss:

$gel-grid-enable--markup-output: true;
$gel-grid-enable--box-sizing: true;

@import '~gel-sass-tools/sass-tools';
@import '~sass-mq/mq';
@import '~gel-grid/grid';

But the grid does not render correctly like this.

I have to add the universal box-sizing in order for the sizing to work correctly:

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

Is there something else I am missing in order to get this to work without adding additional styles?

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

1 participant