mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-30 21:25:18 +01:00
fix(maps): define height for the map containers (Safari issue)
This commit is contained in:
parent
3536c82de1
commit
01ebcdec8a
6 changed files with 6 additions and 13 deletions
|
|
@ -8,6 +8,6 @@
|
|||
|
||||
/deep/ agm-map {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
height: nb-theme(card-height-large);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue