@@ -268,6 +268,12 @@ body {
padding-left: 0.5em;
padding-right: 0.5em;
padding-top: 0.5em;
+
+ // scale larger (than the div) images to the size of the div
+ img {
+ max-width:100%;
+ max-height:100%;
+ }
}
.post-signature {
@@ -135,6 +135,9 @@ body {
padding-top: 0.5em; }
+ .topic-body .post-box .post-content img {
+ max-width: 100%;
+ max-height: 100%; }
.topic-body .post-box .post-signature {
margin-top: 2em; }
.topic-body .post-box .post-signature hr {
@@ -86,7 +86,7 @@
</div>
- <div class="post-content post_body clearfix" id="pid{{ post.id }}">
+ <div class="post-content clearfix" id="pid{{ post.id }}">
{{ post.content|markup|safe }}
<!-- Signature Begin -->
{% if flaskbb_config["SIGNATURE_ENABLED"] and post.user_id and user.signature %}
@@ -87,7 +87,7 @@