material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

[docs] Update transform function in the sx prop sizing docs

Open ZeeshanTamboli opened this issue 3 years ago • 1 comments

Previews:

  • https://deploy-preview-33850--material-ui.netlify.app/system/the-sx-prop/#sizing
  • https://deploy-preview-33850--material-ui.netlify.app/system/sizing/#supported-values

ZeeshanTamboli avatar Aug 08 '22 05:08 ZeeshanTamboli

No bundle size changes

Generated by :no_entry_sign: dangerJS against 8c8fd5702fcc5eab3efb2115dc3b0422ca65361e

mui-bot avatar Aug 08 '22 05:08 mui-bot

Can you share an issue about what is the problem and why the change was made? 0% or 0px doesn't seem that important in my opinion. Also, we would need to add tests if this actually creates a problem.

There is no issue. Just saw that the transform function in the implementation and the docs is different. Check for 0 was added in #28219. Tests were also covered there.

It's just a minor thing really. Basically, docs matching the code.

ZeeshanTamboli avatar Aug 10 '22 10:08 ZeeshanTamboli