@pepperi-addons/ngx-composite-lib 0.4.2-beta.79 → 0.4.2-beta.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/layout-builder/section/section.component.mjs +2 -2
- package/fesm2015/pepperi-addons-ngx-composite-lib-layout-builder.mjs +1 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib-layout-builder.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-composite-lib-layout-builder.mjs +1 -1
- package/fesm2020/pepperi-addons-ngx-composite-lib-layout-builder.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1015,7 +1015,7 @@ class SectionComponent extends BaseDestroyerDirective {
|
|
|
1015
1015
|
// Go for all the columns in the columnsWrapper
|
|
1016
1016
|
this.columnsElementRef.toArray().map((section, sectionIndex) => {
|
|
1017
1017
|
// Horizontal (true) for large screens, false for small screens.
|
|
1018
|
-
const isHorizontalView = this.screenSize
|
|
1018
|
+
const isHorizontalView = this.screenSize < this.pepScreenSizeToFlipToVertical;
|
|
1019
1019
|
if (isHorizontalView) {
|
|
1020
1020
|
this.renderer.setStyle(section.nativeElement, 'grid-auto-flow', 'column');
|
|
1021
1021
|
this.renderer.setStyle(section.nativeElement, 'grid-template-rows', 'unset');
|