style(tooltip): add max-content width to size correctly (#30822)

This commit is contained in:
Dony Sukardi 2021-06-02 18:13:03 +08:00 committed by GitHub
parent 1358252779
commit 0bc05bff5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;