Etemplate: Fix sizing and layout for diffs when they're part of a multipart entry

This commit is contained in:
nathangray 2019-09-19 11:30:17 -06:00
parent 2a35c7c4e4
commit 5b545e24ec
2 changed files with 2 additions and 3 deletions

View File

@ -703,7 +703,7 @@ var et2_historylog = (function(){ "use strict"; return et2_valueWidget.extend([e
if(this.dataview)
{
var columns = this.dataview.getColumnMgr().columnWidths;
jQuery('.et2_diff', this.div).parent().width(columns[this.NEW_VALUE] + columns[this.OLD_VALUE]);
jQuery('.et2_diff', this.div).closest('.innerContainer').width(columns[this.NEW_VALUE] + columns[this.OLD_VALUE]);
}
}
});}).call(this);

View File

@ -613,7 +613,6 @@ div.et2_diff {
white-space:normal;
}
.et2_diff .d2h-file-wrapper {
margin: 0px;
}
.et2_diff .d2h-file-diff {
overflow-x: hidden;
@ -629,7 +628,7 @@ div.et2_diff {
overflow-y: visible;
}
.et2_diff .ui-icon {
margin-top: -16px;
margin-top: -14px;
float: right;
}
.et2_diff .d2h-del, .et2_diff.d2h-del.d2h-change, .et2_diff .d2h-file-diff .d2h-del.d2h-change {