mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 20:53:24 +10:00
Use static map on ListingPage
This commit is contained in:
parent
c0dd8776de
commit
342a8a23d7
2 changed files with 4 additions and 1 deletions
|
|
@ -530,6 +530,9 @@
|
|||
/* Dimensions: Map takes all available space from viewport (excludes action button and section title) */
|
||||
height: calc(100vh - 193px);
|
||||
width: 100%;
|
||||
|
||||
/* Static map: max-width is 640px */
|
||||
max-width: 640px;
|
||||
background-color: #eee;
|
||||
|
||||
@media (--viewportMedium) {
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ const SectionMapMaybe = props => {
|
|||
<FormattedMessage id="ListingPage.locationTitle" />
|
||||
</h2>
|
||||
<div className={css.map}>
|
||||
<Map {...mapProps} />
|
||||
<Map {...mapProps} useStaticMap />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue