Skip to content

Commit

Permalink
Change files
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdholt committed Dec 2, 2020
1 parent 17423cd commit 2edfe83
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "minor",
"comment": "add a class to button in shadow DOM when default slotted content is only an svg icon",
"packageName": "@fluentui/web-components",
"email": "chhol@microsoft.com",
"dependentChangeType": "patch",
"date": "2020-12-02T01:53:49.793Z"
}
1 change: 1 addition & 0 deletions packages/web-components/docs/api-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ export class FluentButton extends Button {
appearanceChanged(oldValue: ButtonAppearance, newValue: ButtonAppearance): void;
// @internal (undocumented)
connectedCallback(): void;
defaultSlottedContentChanged(): void;
}

// @public
Expand Down
5 changes: 1 addition & 4 deletions packages/web-components/src/styles/patterns/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,7 @@ export const BaseButtonStyles: ElementStyles = css`
.control.icon-only {
padding: 0;
}
.control.icon-only span {
display: inline-flex;
line-height: 0;
}
:host(:hover) {
Expand Down

0 comments on commit 2edfe83

Please sign in to comment.