fluentui
fluentui copied to clipboard
Fabric website: Branded Icon sample capitalization HTML is incorrect
Bug Report
- Package version(s): [email protected]
- Browser and OS versions: N/A
Priorities and help requested (not applicable if asking question):
Are you willing to submit a PR to fix? Yes
Requested priority: Low
Products/sites affected: Fabric website (https://dev.office.com/fabric#/styles/brand-icons
Describe the issue:
The sample HTML for BrandIcon uses CSS classes that don't exist in Fabric Core. Trying to use this HTML results in an empty div rendering.
Actual behavior:
This is the sample HTML on the site:
// Sample code for displaying an Excel 96x96px Icon
<div class="ms-BrandIcon--Icon96 ms-BrandIcon--Excel"></div>
Expected behavior:
This is what it should look like (note that icon96 and excel are not capitalized):
// Sample code for displaying an Excel 96x96px Icon
<div class="ms-BrandIcon--icon96 ms-BrandIcon--excel"></div>
If applicable, please provide a codepen repro:
Here's a Pen demoing expected behavior: http://codepen.io/jahnp/pen/ZeZBpg
Closed via #1414 .