clean up of grid, working on all screen sizes, logic built out

This commit is contained in:
Calvin Jhunjhuwala
2025-12-03 13:09:39 -08:00
parent 5b73ccb8be
commit 6f76d4ece5
4 changed files with 775 additions and 57 deletions

View File

@@ -99,6 +99,10 @@ const PageGridCol = React.forwardRef<HTMLDivElement, PageGridColProps>((props, r
if (baseSpan) {
spanClasses.push(classForSpan(null, baseSpan));
} else {
// If no base span is provided, default to full width (4 columns for base breakpoint)
// This ensures columns are full width on mobile when only larger breakpoints are specified
spanClasses.push(classForSpan(null, 4));
}
// Handles sm, md, lg, xl breakpoints (with prefix)