diff --git a/components/tooltip/Tooltip.tsx b/components/tooltip/Tooltip.tsx index 36bd24843e..560ae47bd7 100644 --- a/components/tooltip/Tooltip.tsx +++ b/components/tooltip/Tooltip.tsx @@ -158,6 +158,7 @@ export default defineComponent({ display: 'inline-block', // default inline-block is important ...picked, cursor: 'not-allowed', + lineHeight: 1, // use the true height of child nodes width: ele.props && ele.props.block ? '100%' : null, }; const buttonStyle = { @@ -172,7 +173,7 @@ export default defineComponent({ true, ); return ( - + {child} );