Skip to content

Commit

Permalink
fix: tooltip disabled button style error #389
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Jan 10, 2019
1 parent 1642358 commit 95a2215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/tooltip/Tooltip.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default {
display: 'inline-block', // default inline-block is important
...picked,
cursor: 'not-allowed',
width: isAntBtn && ele.componentOptions.propsData.disabled ? '100%' : null,
width: isAntBtn && ele.componentOptions.propsData.block ? '100%' : null,
}
const buttonStyle = {
...omitted,
Expand Down

0 comments on commit 95a2215

Please sign in to comment.