Fix to work better with section row

This commit is contained in:
Thomas Lovén 2018-10-17 19:20:07 +02:00
parent 44414e05e8
commit 164c287e9d

View File

@ -114,6 +114,11 @@ class FoldRow extends Polymer.Element {
_addHeader(row, data) _addHeader(row, data)
{ {
this.$.head.insertBefore(row, this.$.head.firstChild); 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) _addRow(row, data)
{ {