diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index 7f88712..4520512 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -36,13 +36,14 @@ body { /* Google Map styles */ #map { - height: 400px; - width: 100%; + height: 350px; + width: 100%; + margin-bottom: 1em; } /* Campground show page delete button */ .delete-form { - display: inline-block; + display: inline-block; } /* Flexbox grid fix */ @@ -50,3 +51,9 @@ body { display:flex; flex-wrap: wrap; } + +@media screen and (min-width: 992px) { + #map { + height: 250px; + } +} \ No newline at end of file diff --git a/views/campgrounds/show.ejs b/views/campgrounds/show.ejs index c4a679d..d09d0f1 100644 --- a/views/campgrounds/show.ejs +++ b/views/campgrounds/show.ejs @@ -41,7 +41,6 @@ <%= moment(comment.createdAt).fromNow() %>