Skip to content

Commit 95a2215

Browse files
committed
fix: tooltip disabled button style error #389
1 parent 1642358 commit 95a2215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/tooltip/Tooltip.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default {
7878
display: 'inline-block', // default inline-block is important
7979
...picked,
8080
cursor: 'not-allowed',
81-
width: isAntBtn && ele.componentOptions.propsData.disabled ? '100%' : null,
81+
width: isAntBtn && ele.componentOptions.propsData.block ? '100%' : null,
8282
}
8383
const buttonStyle = {
8484
...omitted,

0 commit comments

Comments
 (0)