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
[Y] I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
<Grid item sx={{ paddingTop: 4 }}></Grid>
Padding remains at 1 spacing.
From what I can tell the "generateRowGap/ColumnGap" internal function is overriding this padding internally to work with "spacing" property on a grid. This makes it annoying to override the style for just one grid element. This should probably check if there is an existing paddingTop value first.
I assume this is the same for "paddingLeft" looking at the code.
It still works if you use "style" property on the grid item.
Expected Behavior 🤔
You would expect this to increase the paddingTop to 4 spacings.
The text was updated successfully, but these errors were encountered:
Current Behavior 😯
Padding remains at 1 spacing.
From what I can tell the "generateRowGap/ColumnGap" internal function is overriding this padding internally to work with "spacing" property on a grid. This makes it annoying to override the style for just one grid element. This should probably check if there is an existing paddingTop value first.
I assume this is the same for "paddingLeft" looking at the code.
It still works if you use "style" property on the grid item.
Expected Behavior 🤔
You would expect this to increase the paddingTop to 4 spacings.
The text was updated successfully, but these errors were encountered: