isFitted Epic #1667
Locked
andresin87
started this conversation in
Ideas and new features
isFitted Epic
#1667
Replies: 2 comments
-
Also reported as an issue here: |
Beta Was this translation helpful? Give feedback.
0 replies
-
The modal component also need this feature |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is some different considerations implemented all over the code which tackles the styling rules about each component's margins and paddings and borders also. Sometimes, there are extra spacing, in other cases there is not, and some component, have spacings in weird situations.
The final decision is to deliver (publish) each component as it is (with No extra spacing) for all the cases.
For the transition, until we publish a major of any spaced component we are going to have a boolean prop which enables this desired behavior in those needed components. This prop will be removed in its next major published version.
The prop name must be agnostic to its technical implementation. We decided to name it
isFitted
.isMarginless,isPaddingless,isBorderlessBeta Was this translation helpful? Give feedback.
All reactions