diff --git a/app/static/structure.css b/app/static/structure.css index 50ebcb83..b0c140ff 100644 --- a/app/static/structure.css +++ b/app/static/structure.css @@ -396,7 +396,7 @@ fieldset legend { margin-left: auto; margin-right: auto; } -.card .card-body img { +.card .card-body > p > img { max-width: 100%; } diff --git a/app/static/structure.scss b/app/static/structure.scss index bf2c6bfa..36acb17c 100644 --- a/app/static/structure.scss +++ b/app/static/structure.scss @@ -50,10 +50,8 @@ nav, etc which are used site-wide */ margin-left: auto; margin-right: auto; - .card-body { - img { - max-width: 100%; - } + .card-body > p > img { + max-width: 100%; } } diff --git a/app/templates/community/add_post.html b/app/templates/community/add_post.html index 76c947be..b0923c5e 100644 --- a/app/templates/community/add_post.html +++ b/app/templates/community/add_post.html @@ -3,7 +3,7 @@ {% block app_content %}