recharts
Advanced tools
Comparing version 0.2.2 to 0.2.3
{ | ||
"name": "recharts", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "React charts", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -103,3 +103,3 @@ import React, {PropTypes} from 'react'; | ||
outerStyle.top = Math.max( | ||
coordinate.y + box.height + offset> scope.y2 ? | ||
coordinate.y + box.height + offset > scope.y2 ? | ||
coordinate.y - box.height - offset : | ||
@@ -106,0 +106,0 @@ coordinate.y + offset, scope.y1); |
@@ -37,3 +37,5 @@ function offset(el) { | ||
'minWidth', 'maxWidth', 'width', 'minHeight', 'maxHeight', 'height', | ||
'top', 'left', 'fontSize', 'lineHeight', | ||
'top', 'left', 'fontSize', 'lineHeight', 'padding', 'margin', | ||
'paddingLeft', 'paddingRight', 'paddingTop', 'paddingBottom', | ||
'marginLeft', 'marginRight', 'marginTop', 'marginBottom', | ||
]; | ||
@@ -40,0 +42,0 @@ function autoCompleteStyle(name, value) { |
2334762
31246