You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package should allow for anyone to set the desired column layout. (e.g.: setting grid-template-columns). Isto also very strict with the values we provide via props. For instance, if the package allowed a className prop to set these values (grid-template-columns, grid-gap, etc.), I would have to make them !important to overwrite the inline styles.
We could argue that grid-gap can be given via props, but what about responsive values?
The great value here is the package's ability to set the row span of the children elements in a way that they'll stack together Pinterest style, but I see no point on forcing the column layout and gap with strict & unresponsive values.
The text was updated successfully, but these errors were encountered:
This package should allow for anyone to set the desired column layout. (e.g.: setting
grid-template-columns
). Isto also very strict with the values we provide via props. For instance, if the package allowed aclassName
prop to set these values (grid-template-columns, grid-gap, etc.), I would have to make them!important
to overwrite the inline styles.We could argue that
grid-gap
can be given via props, but what about responsive values?The great value here is the package's ability to set the row span of the children elements in a way that they'll stack together Pinterest style, but I see no point on forcing the column layout and gap with strict & unresponsive values.
The text was updated successfully, but these errors were encountered: