liquid-tank
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -90,2 +90,3 @@ (function() { | ||
radius[side] > height ? Math.round(height) : radius[side]; | ||
if (cornerRadius[side] < 0) cornerRadius[side] = 0; | ||
} | ||
@@ -196,3 +197,5 @@ } | ||
var style = window.getComputedStyle(element, null); | ||
return parseInt(style.getPropertyValue("height")); | ||
var height = parseInt(style.getPropertyValue("height")); | ||
var minHeight = 80; // 8 + 16 + 8 + 40 + 8 | ||
return height < minHeight ? minHeight : height; | ||
} | ||
@@ -199,0 +202,0 @@ |
{ | ||
"name": "liquid-tank", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "liquid-tank.js", |
14176
269