@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.
- package/esm2020/lib/components/navbar/navbar-content/navbar-content.directive.mjs +3 -2
- package/fesm2015/mintplayer-ng-bootstrap.mjs +2 -1
- package/fesm2015/mintplayer-ng-bootstrap.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap.mjs +2 -1
- package/fesm2020/mintplayer-ng-bootstrap.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
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);
|