<Fabric> element does not affect global button styling.#9076
<Fabric> element does not affect global button styling.#9076jdhuntington merged 1 commit intomicrosoft:masterfrom
Conversation
|
Component perf results:
|
|
|
@jdhuntington screener is showing a visible change to the |
|
Looks like the specificity of the selector caused by this change is going to cause more problems down the road. Going to try another approach. |
|
@jdhuntington there is a PR (#9037) dealing with the exact same issue. Which one needs to be kept open? |
a9d8fa3 to
14ab063
Compare
14ab063 to
f5e6054
Compare
|
@Vitalius1 I opened #9037 only as a reference. I have now closed it in favor of this pull request. |
@jdhuntington - there was a comment in the initial PR by @micahgodbolt regarding specificity issues of different solutions. |
ac6ae8d to
0919a1a
Compare
|
Hello @jdhuntington! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me and give me an instruction to get started! Learn more here. |
khmakoto
left a comment
There was a problem hiding this comment.
Left a little comment but otherwise LGTM 👍
| { | ||
| "packageName": "@uifabric/experiments", | ||
| "comment": "<Fabric> element does not affect global button styling.", | ||
| "type": "minor" |
There was a problem hiding this comment.
Shouldn't these be of type patch since this is not changing the API surface?
There was a problem hiding this comment.
I think minor is appropriate as it will affect global styles for anyone that uses the <Fabric> element.
|
🎉 Handy links: |
|
🎉 Handy links: |
Pull request checklist
$ npm run changeDescription of changes
<Fabric>performed a global style reset of<button>in order to fix #3691 . This change reduces that scope of reset to elements within a<Fabric>element.Note that
packages/office-ui-fabric-react/src/components/Fabric/Fabric.styles.tsis the only code change; all other modified files are snapshots.Microsoft Reviewers: Open in CodeFlow