Commit 2895bbc9 authored by Dietmar Maurer's avatar Dietmar Maurer

fix LogView widget

It looks that after adding the <!DOCTYPE html> HTML5 doctype,
setStyle() needs unit 'px'.
parent b3e18473
......@@ -39,7 +39,7 @@ Ext.define('PVE.panel.LogView', {
var maxDown = me.getMaxDown();
var scrollToEnd = (maxDown <= 0) && me.scrollToEnd;
el.setStyle('padding-top', start*me.lineHeight);
el.setStyle('padding-top', start*me.lineHeight + 'px');
el.update(text);
me.dataCmp.setHeight(total*me.lineHeight);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment