修改BUG:程序异常页面弹窗内,日志文件名过长导致互相覆盖

This commit is contained in:
Argo-Lenovo 2017-04-07 19:18:40 +08:00
parent cf60c38be5
commit 141c14a6f2
3 changed files with 19 additions and 14 deletions

View File

@ -2,19 +2,6 @@
display: inline-block;
}
.logfile {
color: #d41404;
white-space: nowrap;
}
.logfile:focus, .logfile:active, .logfile:hover {
color: red;
}
.logfile span {
margin-left: 4px;
}
.logTs, .logSql, .logDbExcep {
color: red;
font-weight: 600;

View File

@ -218,6 +218,24 @@
margin-right: 10px;
}
.logitem {
overflow: hidden;
text-overflow: ellipsis;
}
.logfile {
color: #d41404;
white-space: nowrap;
}
.logfile:focus, .logfile:active, .logfile:hover {
color: red;
}
.logfile span {
margin-left: 4px;
}
@media (min-width: 375px) {
.icon-content .modal-footer span {
display: inline-block;

View File

@ -42,7 +42,7 @@
Id: "", url: Exceptions.url, swal: false,
callback: function (result) {
var html = result.map(function (ele) {
return $.format('<div class="form-group col-lg-3 col-md-3 col-sm-4 col-xs-6"><a class="logfile" href="#"><i class="fa fa-file-text-o"></i><span>{0}</span></a></div>', ele);
return $.format('<div class="form-group col-lg-3 col-md-3 col-sm-4 col-xs-6 logitem"><a class="logfile" title="{0}" href="#"><i class="fa fa-file-text-o"></i><span>{0}</span></a></div>', ele);
}).join('');
$dataForm.children('div').html(html);
}