diff --git a/public/static/css/maps.css b/public/static/css/maps.css index c239535..7d51384 100644 --- a/public/static/css/maps.css +++ b/public/static/css/maps.css @@ -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 { diff --git a/views/maps.php b/views/maps.php index 9740011..b7ee6ef 100644 --- a/views/maps.php +++ b/views/maps.php @@ -13,7 +13,9 @@ $cssFiles = [

- +
+ Map area +