Skip to content

Commit

Permalink
fix: solve tooltip's content isn't align center when pass into a sigl…
Browse files Browse the repository at this point in the history
…e char issue (#48890)
  • Loading branch information
kiner-tang committed May 13, 2024
1 parent 8b80210 commit 6506394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/tooltip/style/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const genTooltipStyle: GenerateStyle<TooltipToken> = (token) => {

// Wrapper for the tooltip content
[`${componentCls}-inner`]: {
minWidth: controlHeight,
minWidth: '1em',
minHeight: controlHeight,
padding: `${unit(token.calc(paddingSM).div(2).equal())} ${unit(paddingXS)}`,
color: tooltipColor,
Expand Down

0 comments on commit 6506394

Please sign in to comment.