MAPG-137 place static maps into container to avoid large layout shifts
This commit is contained in:
1 parent
61ce915ec0
commit
86f05f7738
2 files changed
+11
-2
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user