+
@for (card of cards(); track card.id) {
();
cards = input([]);
- columns = input(12);
+ /**
+ * Optional override for the section's inner grid column count. Leave unset
+ * (the default) to inherit the responsive defaults from CSS — the section
+ * grid then mirrors the dashboard breakpoints (4/8/12/14 columns) via the
+ * `mfp-dashboard` container query in dashboard-section.component.scss.
+ * Pass an explicit number only when a section needs a fixed column count
+ * regardless of width.
+ */
+ columns = input(undefined);
editMode = input(false);
readonly removeSection = output();
readonly removeCard = output();
diff --git a/projects/ngx/declarative-ui/stories/dashboard.cards.ts b/projects/ngx/declarative-ui/stories/dashboard.cards.ts
index 256a85f..f1052df 100644
--- a/projects/ngx/declarative-ui/stories/dashboard.cards.ts
+++ b/projects/ngx/declarative-ui/stories/dashboard.cards.ts
@@ -75,7 +75,7 @@ export const CARDS: CardConfig[] = [
{
id: 'table-pods',
w: 12,
- h: 35,
+ h: 45,
component: 'mfp-wc-declarative-table-card',
componentInputs: {
config: TABLE_CARD_CONFIG,
diff --git a/projects/ngx/declarative-ui/stories/dashboard.stories.ts b/projects/ngx/declarative-ui/stories/dashboard.stories.ts
index de617bf..ca2de8e 100644
--- a/projects/ngx/declarative-ui/stories/dashboard.stories.ts
+++ b/projects/ngx/declarative-ui/stories/dashboard.stories.ts
@@ -49,7 +49,7 @@ const AVAILABLE_CARDS: CardConfig[] = [
id: 'table-pods',
label: 'Pods Table',
w: 12,
- h: 35,
+ h: 45,
component: 'mfp-wc-declarative-table-card',
componentInputs: {
config: TABLE_CARD_CONFIG,