diff --git a/html/js/card.js b/html/js/card.js
index 7776852a1..166dabd4c 100644
--- a/html/js/card.js
+++ b/html/js/card.js
@@ -446,7 +446,7 @@ function select_card_type(obj)
sx=document.body.scrollTop+160;
}
- var str_style="top:"+sx+"px;height:30%";
+ var str_style="top:"+sx+"px;height:auto";
waiting_box();
var popup={'id': content,'cssclass':'inner_box','style':str_style,'html':"",'drag':true};