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
I was looking at the sizing utilities and I thought it would be helpful to have new values for the width and height. These are using the min-content, max-content and fit-content values. So for example we can give them class names of "w-min", "w-max" and "w-fit" respectively for width and "h-min", "h-max" and "h-fit" for height.
I understand that this change could confuse users with the existing "mw-" classes or the other existing classes that set max or min height/width but nevertheless I feel it would be a useful addition
Motivation and context
Right now the sizing utilities are rather limited with only 4 possible percentage options. Using these three values can help customise elements easily without having to rely on CSS.
The text was updated successfully, but these errors were encountered:
Prerequisites
Proposal
I was looking at the sizing utilities and I thought it would be helpful to have new values for the width and height. These are using the min-content, max-content and fit-content values. So for example we can give them class names of "w-min", "w-max" and "w-fit" respectively for width and "h-min", "h-max" and "h-fit" for height.
I understand that this change could confuse users with the existing "mw-" classes or the other existing classes that set max or min height/width but nevertheless I feel it would be a useful addition
Motivation and context
Right now the sizing utilities are rather limited with only 4 possible percentage options. Using these three values can help customise elements easily without having to rely on CSS.
The text was updated successfully, but these errors were encountered: