Fabric-UI
1 TopicCannot See File Type Icon in Document Card from the Fabruic UI-React
I am using the DocumentCard from Fabric-React to create a document library web part using the react framework. Currently my Document Library is mostly working. it looks like this But notice inside of my previews, the mini Icon for the File Type is not displayed. However, if i go into Chrome Dev Tools, and i find the ms-documentCardPreview-icon Div, and i add "Width:25%" the icon will appear. I cannot use CSS to give the ms-DocumentCardPreview-icon div a width, because webpack adds a series of digits to the div name on build. please help me understand why a width is not being applied and how to make it apply so both the icon and the preview image are displayed as in the example provided by microsoft here: https://developer.microsoft.com/en-us/fabric#/controls/web/documentcard4.8KViews0likes3Comments