barsa-novin-ray-core 2.2.75 → 2.2.76
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.
|
@@ -12065,12 +12065,13 @@ class RootPortalComponent extends PageBaseComponent {
|
|
|
12065
12065
|
this.addFooter(pageData);
|
|
12066
12066
|
BigNumber.prototype.subtract = BigNumber.prototype.minus;
|
|
12067
12067
|
BigNumber.prototype.add = BigNumber.prototype.plus;
|
|
12068
|
-
const { BackgroundId, BackgroundColor, HasOverlay } = this.pageData;
|
|
12068
|
+
const { BackgroundId, BackgroundColor, HasOverlay, BackgroundSize } = this.pageData;
|
|
12069
12069
|
if (BackgroundId) {
|
|
12070
12070
|
this.backgroundColor = BackgroundColor;
|
|
12071
12071
|
this.hasOverlay = HasOverlay !== 'False';
|
|
12072
12072
|
this._renderer2.addClass(this._el.nativeElement, 'root-custom-background');
|
|
12073
12073
|
this.hasOverlay && this._renderer2.addClass(this._el.nativeElement, 'root-background-overlay');
|
|
12074
|
+
BackgroundSize && this._renderer2.addClass(this._el.nativeElement, 'size-' + BackgroundSize);
|
|
12074
12075
|
this.imageUrl = `/IH.ashx?ty=ID&moId=&id=${BackgroundId}`;
|
|
12075
12076
|
this._portalService.setSiteImageUrl(BackgroundColor, this.imageUrl);
|
|
12076
12077
|
}
|