From 1f3c3834796c7a57232a7db006744b8213692ff8 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Thu, 4 Jan 2024 22:21:31 +1300 Subject: [PATCH] side pane class --- app/static/structure.css | 2 +- app/static/structure.scss | 6 ++---- app/templates/community/add_post.html | 4 ++-- app/templates/community/community.html | 2 +- app/templates/domain/domain.html | 2 +- app/templates/domain/domains.html | 2 +- app/templates/index.html | 2 +- app/templates/new_posts.html | 2 +- app/templates/post/add_reply.html | 2 +- app/templates/post/continue_discussion.html | 2 +- app/templates/post/post.html | 2 +- app/templates/post/post_edit.html | 4 ++-- app/templates/post/post_reply_edit.html | 2 +- app/templates/top_posts.html | 2 +- app/templates/user/notifications.html | 2 +- app/templates/user/people.html | 2 +- app/templates/user/show_profile.html | 2 +- 17 files changed, 20 insertions(+), 22 deletions(-) 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 %}