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

Do we need to specify width: 100%; on .content? #3

Open
lauriejones opened this issue Jan 10, 2017 · 1 comment
Open

Do we need to specify width: 100%; on .content? #3

lauriejones opened this issue Jan 10, 2017 · 1 comment

Comments

@lauriejones
Copy link
Contributor

Div and other block elements take full width by default.

When someone uses the content mixin on an element and adds padding to it we end up with something > the desired width.

Either omit the width property here, or add box-sizing: border-box.

@jameslnewell
Copy link
Contributor

Think we need to keep width b78fa61?w=0

sounds like box-sizing FTW!

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