roylee0704 / react-flexbox-grid

A set of React components implementing flexboxgrid with the power of CSS Modules.
http://roylee0704.github.io/react-flexbox-grid/
2.93k stars 206 forks source link

Removing/change fluid grid padding #127

Closed joelinteman closed 6 years ago

joelinteman commented 7 years ago

Hi, is there a way to remove/change the default padding of 2rem of the .flexboxgrid__container-fluid?

velykov commented 6 years ago

I think no

yougotashovel commented 6 years ago

Has anyone found a solution to this?

joelinteman commented 6 years ago

Use CSS grid. :)

yougotashovel commented 6 years ago

That's where i started, and why i came to this package. CSS grid doesn't work in enough browsers to solely rely on it yet, especially in projects where column layout is important, and target audience is using older browser versions.

caniuse.com says it's supported most places, but testing on devices/browsers shows otherwise. A large enough percentage of people aren't running the latest versions of some browsers, especially safari.

Ended up building my own react flexbox grid with glamorous.