-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
Description
Environment Information
- Package version(s): office-ui-fabric-react 7.105.12
- Browser and OS versions: Chrome: Version 80.0.3987.163 (Official Build) (64-bit), Microsoft Windows Version 1903 Build 18362.657
Please provide a reproduction of the bug in a codepen:
https://codepen.io/sgbdev/pen/zYvxKYo
Actual behavior:
When passing cellStyleProps to DetailsList, list cells still have default padding, while column headers use padding from cellStyleProps.
After doing some digging it looks like the DetailsRow.base.render method does not pass cellStyleProps to the getClassnames function. cellStyleProps is being passed to DetailsRow from the DetailsList.base._onRenderCell method.
Expected behavior:
DetailsRow should pass cellStyleProps to getClassNames function like it is in DetailsColumn.
Priorities and help requested:
Are you willing to submit a PR to fix? Maybe?
Requested priority: Normal
Products/sites affected: None known

