Resize images

This commit is contained in:
Michael 2017-04-17 20:33:38 -04:00
parent 280fa76bdd
commit 662bffcdf0
2 changed files with 7 additions and 1 deletions

View file

@ -16,6 +16,12 @@
white-space: normal; white-space: normal;
} }
#forum_post_body img{
max-width:100%;
width:auto;
height:auto;
}
/*.modal { /*.modal {
padding-top:10%; padding-top:10%;
padding-right:50%; padding-right:50%;

View file

@ -60,7 +60,7 @@
</p> </p>
} }
</div> </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> <h4>@Model.Subject</h4>
<p>@Html.UserLink(post.AuthorId) at @post.PostedAt</p> <p>@Html.UserLink(post.AuthorId) at @post.PostedAt</p>
<p>@Html.Markdown(post.Body)</p> <p>@Html.Markdown(post.Body)</p>