Permalink
Browse files

Move max-width to ant-tooltip

so that it can be override by overlayStyle.maxWidth
  • Loading branch information...
afc163 committed Jun 27, 2018
1 parent 0d09dba commit e2b359e9c3dae067eeba37a886f7896474c87e31
Showing with 1 addition and 1 deletion.
  1. +1 −1 components/tooltip/style/index.less
@@ -10,6 +10,7 @@
z-index: @zindex-tooltip;
display: block;
visibility: visible;
max-width: @tooltip-max-width;
&-hidden {
display: none;
@@ -38,7 +39,6 @@
// Wrapper for the tooltip content
&-inner {
max-width: @tooltip-max-width;
padding: 6px 8px;
color: @tooltip-color;
text-align: left;

0 comments on commit e2b359e

Please sign in to comment.