DocumentCard in compact layout has 1px blank line below preview image
Environment Information
- Package version(s): (6.156.0)
- Browser and OS versions: (chrome 72.0.3626.121)
Please provide a reproduction of the bug in a codepen:
It could be observed on the demo page: https://developer.microsoft.com/en-us/fabric#/components/documentcard
Actual behavior:
There is one-pixel blank line below the preview image
Expected behavior:
There is no blank line below the preview image
Priorities and help requested:
Are you willing to submit a PR to fix? (No)
Requested priority: (High)
Products/sites affected: (SharePoint)
The preview has height 106px + border-top/botttom = 108px, while the document card has height 109px.
So there is one-pixel blank. Is this by-design??
@yiminwu it seems you are the codeowner for DocumentCard. Is this by design or is it a bug that requires a simple fix?
Seems like a bug. Can confirm with design's red lines, but I doubt this is intentional.
Screener should catch this, but its difficult to see unless you look at computed tab. Has happened to me.
@KevinTCoughlin I doubt this is intentional too, but I want to double check before going in and making changes. Do you know who to contact for this?
:tada:This issue was addressed in #8461, which has now been successfully released as [email protected].:tada:
Handy links: