feat: table enhancement (#2191)

This commit is contained in:
Philip Okugbe
2026-05-14 00:37:44 +01:00
committed by GitHub
parent 31ed0df3f7
commit cea9be7926
48 changed files with 3330 additions and 1133 deletions
@@ -0,0 +1,7 @@
export function getColStyleDeclaration(minWidth: number, width: number | undefined): [string, string] {
if (width) {
return ['width', `${Math.max(width, minWidth)}px`]
}
return ['min-width', `${minWidth}px`]
}