@mintplayer/ng-bootstrap 13.3.5 → 13.3.6

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.
@@ -3154,7 +3154,8 @@ class NavbarContentDirective {
3154
3154
  this.element.nativeElement.style.paddingTop = (this.initialPadding + height) + 'px';
3155
3155
  });
3156
3156
  // Monitor the size
3157
- const pt = parseInt(this.element.nativeElement.style.paddingTop.replace(/px$/, ''));
3157
+ const px = getComputedStyle(this.element.nativeElement).getPropertyValue('padding-top');
3158
+ const pt = parseInt(px.replace(/px$/, ''));
3158
3159
  this.initialPadding = isNaN(pt) ? 0 : pt;
3159
3160
  if (this.resizeObserver && navbar) {
3160
3161
  this.resizeObserver.observe(navbar.nav.nativeElement);