@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.
@@ -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');