Fix to work better with section row

This commit is contained in:
thomas committed 2018-10-27 01:06:42 +02:00
1 parent 44414e05e8
commit 164c287e9d
1 file changed
+5
+5
View File
@@ -114,6 +114,11 @@ class FoldRow extends Polymer.Element {
_addHeader(row, data)
{
this.$.head.insertBefore(row, this.$.head.firstChild);
if(row.firstChild.tagName === 'HUI-SECTION-ROW'){
let div = row.firstChild.shadowRoot.querySelector('.divider');
div.style.marginRight = '-53px';
// div.parentNode.removeChild(div);
}
}
_addRow(row, data)
{