Skip to content


Move max-width to ant-tooltip
Browse files Browse the repository at this point in the history
so that it can be override by overlayStyle.maxWidth
  • Loading branch information
afc163 committed Jun 27, 2018
1 parent 0d09dba commit e2b359e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/tooltip/style/index.less
Expand Up @@ -10,6 +10,7 @@
z-index: @zindex-tooltip;
display: block;
visibility: visible;
max-width: @tooltip-max-width;

&-hidden {
display: none;
Expand Down Expand Up @@ -38,7 +39,6 @@

// Wrapper for the tooltip content
&-inner {
max-width: @tooltip-max-width;
padding: 6px 8px;
color: @tooltip-color;
text-align: left;
Expand Down

0 comments on commit e2b359e

Please sign in to comment.