fix(maps): define height for the map containers (Safari issue)

This commit is contained in:
nixa 2017-09-19 16:36:18 +03:00
parent 3536c82de1
commit 01ebcdec8a
6 changed files with 6 additions and 13 deletions

View file

@ -8,6 +8,6 @@
/deep/ agm-map {
width: 100%;
height: 100%;
height: nb-theme(card-height-large);
}
}

View file

@ -4,7 +4,7 @@ import { Component } from '@angular/core';
selector: 'ngx-gmaps',
styleUrls: ['./gmaps.component.scss'],
template: `
<nb-card size="xlarge">
<nb-card>
<nb-card-header>Google Maps</nb-card-header>
<nb-card-body>
<agm-map [latitude]="lat" [longitude]="lng">