修改日志界面列名、列宽.
This commit is contained in:
@@ -393,7 +393,6 @@ window.onload=function(){
|
||||
var igHeight = $("#searchForm").find(".col-md-12").find(".pull-left").find(".input-group").height();
|
||||
$("#searchForm").find(".col-md-12").find(".pull-left").find(".input-group").bind("DOMNodeInserted",function(e) {
|
||||
var newIgHeight = $("#searchForm").find(".col-md-12").eq(0).height();
|
||||
alert(newIgHeight)
|
||||
$("#searchForm").find(".col-md-12").find(".pull-left").find(".input-group").find(".input-group-btn").css("padding-bottom", (newIgHeight-igHeight)+"px");
|
||||
});
|
||||
|
||||
|
||||
@@ -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');
|
||||
});
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user