mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
style(tooltip): add max-content width to size correctly (#30822)
This commit is contained in:
parent
1358252779
commit
0bc05bff5b
@ -18,6 +18,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: @zindex-tooltip;
|
z-index: @zindex-tooltip;
|
||||||
display: block;
|
display: block;
|
||||||
|
width: max-content;
|
||||||
max-width: @tooltip-max-width;
|
max-width: @tooltip-max-width;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user