@pepperi-addons/ngx-composite-lib 0.4.2-beta.94 → 0.4.2-beta.95
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 +3 -3
- package/fesm2015/pepperi-addons-ngx-composite-lib-layout-builder.mjs +2 -2
- package/fesm2015/pepperi-addons-ngx-composite-lib-layout-builder.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-composite-lib-layout-builder.mjs +2 -2
- package/fesm2020/pepperi-addons-ngx-composite-lib-layout-builder.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1058,13 +1058,13 @@ class SectionComponent extends BaseDestroyerDirective {
|
|
|
1058
1058
|
}
|
|
1059
1059
|
}
|
|
1060
1060
|
refreshSplit() {
|
|
1061
|
+
// Horizontal (true) for large screens, false for small screens.
|
|
1062
|
+
this.isHorizontalView = this.screenSize < this.pepScreenSizeToFlipToVertical;
|
|
1061
1063
|
setTimeout(() => {
|
|
1062
1064
|
if (this.sectionContainerRef) {
|
|
1063
1065
|
// const cssSplitString = this.getCssSplitString();
|
|
1064
1066
|
// Go for all the columns in the columnsWrapper
|
|
1065
1067
|
this.columnsElementRef.toArray().map((section, sectionIndex) => {
|
|
1066
|
-
// Horizontal (true) for large screens, false for small screens.
|
|
1067
|
-
this.isHorizontalView = this.screenSize < this.pepScreenSizeToFlipToVertical;
|
|
1068
1068
|
if (this.isHorizontalView) {
|
|
1069
1069
|
this.renderer.setStyle(section.nativeElement, 'grid-auto-flow', 'column');
|
|
1070
1070
|
this.renderer.setStyle(section.nativeElement, 'grid-template-rows', 'unset');
|