Roo/bootstrap/Brick.js
authoredward <edward@roojs.com>
Fri, 3 Mar 2017 06:12:46 +0000 (14:12 +0800)
committeredward <edward@roojs.com>
Fri, 3 Mar 2017 06:12:46 +0000 (14:12 +0800)
Roo/bootstrap/Brick.js

index 1600a07..33803af 100644 (file)
@@ -139,7 +139,7 @@ Roo.extend(Roo.bootstrap.Brick, Roo.bootstrap.Component,  {
         
         if(this.bgimage.length){
             var image = this.el.select('.roo-brick-image-view', true).first();
-            image.setHeight(paragraph.getHeight() + paragraph.getPadding('tb'))
+            image.setHeight(paragraph.getHeight())
         }
         
     },