Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Add some default padding to <body>? #165

Closed
trotzig opened this issue Nov 28, 2016 · 1 comment
Closed

Add some default padding to <body>? #165

trotzig opened this issue Nov 28, 2016 · 1 comment

Comments

@trotzig
Copy link
Contributor

trotzig commented Nov 28, 2016

I'm not sure this is a great idea, but I'll at least present the idea. At Brigade, we have a button component with some box shadow. When it is rendered on top of the page, some of the box shadow is rendered off-screen. Because of that, we wrap our happo rendering of buttons in a div with some padding. If the document that we render examples in had some built-in padding, we wouldn't have a need for the wrapper.

@trotzig
Copy link
Contributor Author

trotzig commented Nov 28, 2016

This is probably a bad idea after all. It's likely that happo examples rely on a going full-width (think responsive full-width components rendered on small screens).

@trotzig trotzig closed this as completed Nov 28, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant