Row component has mx property set to -32 by default
See original GitHub issueTitle says everything 😃
Here is the sandbox with reproduced bug and few examples
Setting mx to 0 solves the problem, other fields not.
Also, wrapping with Provider and theme.space = [0]
solve problem a little. Giving mx = -3
which is still weird.
Provider also seems to have default theme, such as fonts etc. This must be described somewhere so people know defaults.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to add padding and margin to all Material-UI components?
You can use de "Spacing" in a BOX component just by importing the component first: import Box from '@material-ui/core/Box';.
Read more >ServiceNow Developers
To avoid this, we've collected common sense "defaults" to prevent unwanted CSS values from being inherited within the Shadow DOM. The now-mx-inherits mixin ......
Read more >Spacing - Bootstrap
Assign responsive-friendly margin or padding values to an element or a subset ... 1 - (by default) for classes that set the margin...
Read more >Customizing Spacing - Tailwind CSS
Customizing the default spacing and sizing scale for your project. Use the spacing key in the theme section of your tailwind.config.js file to...
Read more >Configuration - Spark 1.4.1 Documentation
Spark properties control most application parameters and can be set by ... of the properties that control internal settings have reasonable default values....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, sorry the docs are sort of light around the components at the moment. As @ferdinandsalis said,
<Row />
is meant to be used with<Column />
as a simple, no configuration sort of component. They both extend<Flex />
and<Box />
respectively, which are more generic and flexible.The
<Provider />
is documented here: https://github.com/jxnblk/rebass#provider-@ferdinandsalis no problem!