fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Fabric website: Branded Icon sample capitalization HTML is incorrect

Open Jahnp opened this issue 9 years ago • 1 comments

Bug Report

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

Jahnp avatar Apr 05 '17 07:04 Jahnp

Closed via #1414 .

Jahnp avatar Apr 06 '17 07:04 Jahnp