Skip to content

Commit b04501a

Browse files
authored
fix: Fixes positioning of Place Details for search example. (#283)
1 parent 23ae80a commit b04501a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

samples/ui-kit-place-search/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ async function addMarkers(){
9393
map: map.innerMap
9494
});
9595
placeDetails.addEventListener('gmp-load',() => {
96-
map.innerMap.fitBounds(place.viewport, { top: 400, left: 200 });
96+
map.innerMap.fitBounds(place.viewport, { top: 500, left: 400 });
9797
});
9898

9999
});

samples/ui-kit-place-search/style.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ html,
2323

2424
gmp-map {
2525
box-sizing: border-box;
26-
padding: 0 20px 20px;
2726
height: 600px;
2827
}
2928

0 commit comments

Comments
 (0)