@officesdk/design 0.2.11 → 0.2.12

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.
@@ -3306,7 +3306,7 @@ var TabItem = styled.button`
3306
3306
  if ($variant === "line") {
3307
3307
  const gapNumber = parseInt(theme2.components.tab.line.layout.gap ?? "0");
3308
3308
  return `
3309
- max-width: calc((100% - ${gapNumber * ($count - 1)}px) / ${$count});
3309
+ max-width: ${$count > 1 ? `calc((100% - ${gapNumber * ($count - 1)}px) / ${$count})` : "100%"};
3310
3310
  `;
3311
3311
  }
3312
3312
  return "";