We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9b3d80 commit 3cbbba1Copy full SHA for 3cbbba1
components/tooltip/Tooltip.tsx
@@ -158,6 +158,7 @@ export default defineComponent({
158
display: 'inline-block', // default inline-block is important
159
...picked,
160
cursor: 'not-allowed',
161
+ lineHeight: 1, // use the true height of child nodes
162
width: ele.props && ele.props.block ? '100%' : null,
163
};
164
const buttonStyle = {
@@ -172,7 +173,7 @@ export default defineComponent({
172
173
true,
174
);
175
return (
- <span style={spanStyle} class={`${prefixCls}-disabled-compatible-wrapper`}>
176
+ <span style={spanStyle} class={`${prefixCls.value}-disabled-compatible-wrapper`}>
177
{child}
178
</span>
179
0 commit comments