diff --git a/src/framework/theme/components/cdk/overlay/dynamic/dynamic-overlay-handler.spec.ts b/src/framework/theme/components/cdk/overlay/dynamic/dynamic-overlay-handler.spec.ts
index b81b593c1b..a7945a0456 100644
--- a/src/framework/theme/components/cdk/overlay/dynamic/dynamic-overlay-handler.spec.ts
+++ b/src/framework/theme/components/cdk/overlay/dynamic/dynamic-overlay-handler.spec.ts
@@ -406,7 +406,7 @@ describe('dynamic-overlay-handler', () => {
expect(positionBuilder._connectedTo).toBe(host1);
expect(positionBuilder._position).toBe(NbPosition.TOP);
expect(positionBuilder._adjustment).toBe(NbAdjustment.NOOP);
- expect(positionBuilder._offset).toBe(0);
+ expect(positionBuilder._offset).toBe(15);
configure().host(host2).rebuild();
expect(triggerStrategyBuilder._host).toBe(host2.nativeElement);
@@ -415,7 +415,7 @@ describe('dynamic-overlay-handler', () => {
expect(positionBuilder._connectedTo).toBe(host2);
expect(positionBuilder._position).toBe(NbPosition.TOP);
expect(positionBuilder._adjustment).toBe(NbAdjustment.NOOP);
- expect(positionBuilder._offset).toBe(0);
+ expect(positionBuilder._offset).toBe(15);
});
it('should set and update position', () => {
diff --git a/src/framework/theme/components/cdk/overlay/dynamic/dynamic-overlay-handler.ts b/src/framework/theme/components/cdk/overlay/dynamic/dynamic-overlay-handler.ts
index e3bb5ad248..1e500e469b 100644
--- a/src/framework/theme/components/cdk/overlay/dynamic/dynamic-overlay-handler.ts
+++ b/src/framework/theme/components/cdk/overlay/dynamic/dynamic-overlay-handler.ts
@@ -34,7 +34,7 @@ export class NbDynamicOverlayHandler {
protected _trigger: NbTrigger = NbTrigger.NOOP;
protected _position: NbPosition = NbPosition.TOP;
protected _adjustment: NbAdjustment = NbAdjustment.NOOP;
- protected _offset: number = 0;
+ protected _offset: number = 15;
protected dynamicOverlay: NbDynamicOverlay;
diff --git a/src/framework/theme/components/popover/popover.directive.ts b/src/framework/theme/components/popover/popover.directive.ts
index e89b825bc6..2b749b5fd9 100644
--- a/src/framework/theme/components/popover/popover.directive.ts
+++ b/src/framework/theme/components/popover/popover.directive.ts
@@ -78,7 +78,7 @@ import { NbPopoverComponent } from './popover.component';
* If you wanna disable this behaviour just set it falsy value.
*
* ```html
- *
+ *
* ```
*
* Popover has a number of triggers which provides an ability to show and hide the component in different ways: