summaryrefslogtreecommitdiff
path: root/Project-Unite
diff options
context:
space:
mode:
Diffstat (limited to 'Project-Unite')
-rw-r--r--Project-Unite/Content/Site.css6
-rw-r--r--Project-Unite/Views/Forum/ViewTopic.cshtml2
2 files changed, 7 insertions, 1 deletions
diff --git a/Project-Unite/Content/Site.css b/Project-Unite/Content/Site.css
index 1de4445..58678b4 100644
--- a/Project-Unite/Content/Site.css
+++ b/Project-Unite/Content/Site.css
@@ -16,6 +16,12 @@
white-space: normal;
}
+#forum_post_body img{
+ max-width:100%;
+ width:auto;
+ height:auto;
+}
+
/*.modal {
padding-top:10%;
padding-right:50%;
diff --git a/Project-Unite/Views/Forum/ViewTopic.cshtml b/Project-Unite/Views/Forum/ViewTopic.cshtml
index ceeaa97..a9272b6 100644
--- a/Project-Unite/Views/Forum/ViewTopic.cshtml
+++ b/Project-Unite/Views/Forum/ViewTopic.cshtml
@@ -60,7 +60,7 @@
</p>
}
</div>
- <div class="col-xs-8"><!--Post body, subject, author, time-->
+ <div class="col-xs-8" id="forum_post_body"><!--Post body, subject, author, time-->
<h4>@Model.Subject</h4>
<p>@Html.UserLink(post.AuthorId) at @post.PostedAt</p>
<p>@Html.Markdown(post.Body)</p>