@ninebone/table 0.0.756 → 0.0.758

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -916,8 +916,12 @@ const Et = class Et extends HTMLElement {
916
916
  let o = 0;
917
917
  r[0].querySelectorAll("col").forEach((i) => {
918
918
  const a = parseInt(i.getAttribute("width"), 10);
919
- isNaN(o) || (o += a);
920
- }), e === "body" ? n.style.flex = "1" : (n.style.flex = `0 0 ${o}px`, n.style.width = `${o}px`);
919
+ isNaN(a) || (o += a);
920
+ }), e === "body" ? (n.style.flex = "1", n.querySelectorAll("table").forEach((i) => {
921
+ i.style.width = "100%";
922
+ })) : (n.style.flex = `0 0 ${o}px`, n.style.width = `${o}px`, n.querySelectorAll("table").forEach((i) => {
923
+ i.style.width = `${o}px`;
924
+ }));
921
925
  });
922
926
  }, "#updateContainerWidths"));
923
927
  d(this, yt, /* @__PURE__ */ h((e, n, r) => {