@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.
@@ -3319,7 +3319,7 @@ var TabItem = exports.styled.button`
3319
3319
  if ($variant === "line") {
3320
3320
  const gapNumber = parseInt(theme2.components.tab.line.layout.gap ?? "0");
3321
3321
  return `
3322
- max-width: calc((100% - ${gapNumber * ($count - 1)}px) / ${$count});
3322
+ max-width: ${$count > 1 ? `calc((100% - ${gapNumber * ($count - 1)}px) / ${$count})` : "100%"};
3323
3323
  `;
3324
3324
  }
3325
3325
  return "";