export var formatDeliveryHTML = info => {
  var delivery = document.createElement('div');
  delivery.innerHTML = info;
  delivery.querySelectorAll('#product-delivery').forEach(el => {
    var paragraphs = el.querySelectorAll('p');
    var lists = el.querySelectorAll('li');
    var table = el.querySelector('table');
    var tableHead = el.querySelectorAll('th');
    var tableCells = el.querySelectorAll('td');
    paragraphs.forEach(p => p.style.marginTop = '1.5rem');
    lists.forEach(li => li.style.margin = '1rem');
    table.style.width = '100%';
    tableHead.forEach(th => {
      th.style.border = '1px solid #999';
      th.style.padding = '0.3rem';
    });
    tableCells.forEach(td => {
      td.style.border = '1px solid #999';
      td.style.padding = '0.3rem';
    });
  });
  return delivery.innerHTML;
};
//# sourceMappingURL=utils.js.map