From 23228e44030d240fd26942f9c07c0400f9cd7748 Mon Sep 17 00:00:00 2001 From: Clemente Raposo Date: Thu, 9 Jan 2025 09:52:19 +0000 Subject: [PATCH] Adjust field layout label break down limits --- .../lib/components/field-layout/field-layout.component.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/app/core/src/lib/components/field-layout/field-layout.component.ts b/core/app/core/src/lib/components/field-layout/field-layout.component.ts index 6d60f3723..a67389f03 100644 --- a/core/app/core/src/lib/components/field-layout/field-layout.component.ts +++ b/core/app/core/src/lib/components/field-layout/field-layout.component.ts @@ -105,11 +105,11 @@ export class FieldLayoutComponent extends BaseFieldGridComponent { const adaptor = layoutCol.adaptor ?? null; const useFullColumn = field?.useFullColumn ?? field?.definition?.useFullColumn ?? []; - let headerColumnClass = 'col-sm-3'; - let valueColumnClass = 'col-sm-9'; + let headerColumnClass = 'col-sm-12 col-md-12 col-lg-3'; + let valueColumnClass = 'col-sm-12 col-md-12 col-lg-9'; - const headerColSizes = {'xs': '12', 'sm': '3', 'md': '3', 'lg': '3', 'xl': '3'}; - const valuesColSizes = {'xs': '12', 'sm': '9', 'md': '9', 'lg': '9', 'xl': '9'}; + const headerColSizes = {'xs': '12', 'sm': '12', 'md': '12', 'lg': '3', 'xl': '3'}; + const valuesColSizes = {'xs': '12', 'sm': '12', 'md': '12', 'lg': '9', 'xl': '9'}; const useFullColumnsMaps = useFullColumn.reduce((ac,a) => ({...ac,[a]:true}),{}); if (useFullColumn.length) {