Skip to content

Commit

Permalink
Merge f247d0c into d68818f
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Aug 13, 2021
2 parents d68818f + f247d0c commit 03c41b4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
8 changes: 8 additions & 0 deletions components/button/__tests__/__snapshots__/demo.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,14 @@ exports[`renders ./components/button/demo/ghost.md correctly 1`] = `
Dashed
</span>
</button>
<button
class="ant-btn ant-btn-primary ant-btn-background-ghost ant-btn-dangerous"
type="button"
>
<span>
Danger
</span>
</button>
</div>
`;

Expand Down
3 changes: 3 additions & 0 deletions components/button/demo/ghost.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ ReactDOM.render(
<Button type="dashed" ghost>
Dashed
</Button>
<Button type="primary" danger ghost>
Danger
</Button>
</div>,
mountNode,
);
Expand Down
2 changes: 1 addition & 1 deletion components/button/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
margin-left: @margin-xs;
}

&-background-ghost {
&&-background-ghost {
color: @btn-default-ghost-color;
border-color: @btn-default-ghost-border;
&,
Expand Down

0 comments on commit 03c41b4

Please sign in to comment.