diff --git a/projects/editor/src/app/components/unit-view/page-view/canvas/section-dynamic.component.ts b/projects/editor/src/app/components/unit-view/page-view/canvas/section-dynamic.component.ts index cd613817236cfe09cd6b8b618e82bdaf3b889ab3..2f0c602e347c07d11e5c49910ce93fb61755976f 100644 --- a/projects/editor/src/app/components/unit-view/page-view/canvas/section-dynamic.component.ts +++ b/projects/editor/src/app/components/unit-view/page-view/canvas/section-dynamic.component.ts @@ -34,7 +34,7 @@ import { DynamicSectionHelperGridComponent } from './dynamic-section-helper-grid #elementComponent [element]="$any(element)" [style.min-width.px]="element.width" - [style.min-height.px]="element.height" + [style.min-height.px]="element.position.useMinHeight ? element.height : null" [style.margin-left.px]="element.position.marginLeft" [style.margin-right.px]="element.position.marginRight" [style.margin-top.px]="element.position.marginTop"