MAPG-137 place static maps into container to avoid large layout shifts

This commit is contained in:
bence committed 2020-06-14 11:11:37 +02:00
1 parent 61ce915ec0
commit 86f05f7738
2 files changed
+11 -2

No files matched your search

+8 -1
View File
@@ -26,8 +26,15 @@ div.mapItem>div.title>p.title {
font-size: 18px;
}
div.mapItem>img {
div.mapItem>div.imgContainer {
width: 100%;
padding-top: 50%;
background: #cccccc;
}
div.mapItem>div.imgContainer>img {
width: 100%;
margin-top: -50%
}
div.mapItem>div.inner {