From 69cef6edacf1021a13cc0579e7fae6900ea43033 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Thu, 5 Dec 2024 14:33:57 +1300 Subject: [PATCH] fixes #365 --- app/static/styles.css | 5 +++++ app/static/styles.scss | 7 +++++++ app/templates/community/community_wiki_page_view.html | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/app/static/styles.css b/app/static/styles.css index c9a7a873..060a97ee 100644 --- a/app/static/styles.css +++ b/app/static/styles.css @@ -1609,6 +1609,11 @@ h1 .warning_badge { height: auto; } +.wiki_page img { + max-width: 100%; + height: auto; +} + #post_reply_markdown_editor_enabler { display: none; position: absolute; diff --git a/app/static/styles.scss b/app/static/styles.scss index 0b1b994f..9b69b5ab 100644 --- a/app/static/styles.scss +++ b/app/static/styles.scss @@ -1287,6 +1287,13 @@ h1 .warning_badge { } } +.wiki_page { + img { + max-width: 100%; + height: auto; + } +} + #post_reply_markdown_editor_enabler { display: none; position: absolute; diff --git a/app/templates/community/community_wiki_page_view.html b/app/templates/community/community_wiki_page_view.html index c4b0f4a3..f93f8334 100644 --- a/app/templates/community/community_wiki_page_view.html +++ b/app/templates/community/community_wiki_page_view.html @@ -10,7 +10,7 @@