Merge branch 'develop' of http://10.0.6.99/gwall/gwall.git into develop

This commit is contained in:
duandongmei
2018-08-07 10:13:35 +08:00
6 changed files with 9 additions and 9 deletions

View File

@@ -9,7 +9,7 @@ $(document).ready(function() {
var finalStyle = this.currentStyle ? this.currentStyle : document.defaultView.getComputedStyle(this , null);
var fontSize = (finalStyle.fontSize).replace("px","");
var px = getPixelsCount($(this).text(),fontSize)+55;
var px = getPixelsCount($(this).text(),fontSize)+32;
this.setAttribute('width',px+'px');
});
})