Skip to content

SPFx v1.4.1 sp-office-ui-fabric-core styles not rendered/loaded #4911

@cperson

Description

@cperson

Category

  • [x ] Question
  • Typo
  • [x ] Bug
  • Additional article idea

Expected or Desired Behavior

The following classes referenced in an SPFx 1.4.1 solution would render appropriately :
ms-Grid-col
ms-sm3
ms-md3

Observed Behavior

Styles are not rendered based on classname.

This is happening as of 11/15/2019 at 2:00pm CST.

Steps to Reproduce

Create an SPFx v1.4.1 solution

Add the following line to you .scss:
@import '~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss';

Add any className from UI Fabric (i.e. ms-Grid-col)

Deploy solution and observe css is not rendered.

QUESTION:
Would it be possible to provide reference of CDN paths as it relates to SPFx and Office UI Fabric resources, or otherwise elaborate on how the styles are added to the markup?

We are attempting to root cause this issue with no luck, and the best reference we can find refers to Icons specifically. It would be nice to have docs regarding styles as well: https://github.com/OfficeDev/office-ui-fabric-react/wiki/using-icons

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Author FeedbackAwaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.area:spfxCategory: SharePoint Framework (not extensions related)no-recent-activityStale issue due to lack of activity. Closed after 7 days with no activity by OP.status:fixed-next-dropIssue planned to be fixed in an upcoming release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions