diff options
| author | Michael <[email protected]> | 2017-04-17 20:33:38 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-17 20:33:38 -0400 |
| commit | 662bffcdf0cfc02ef8c85d55170243a44beee22b (patch) | |
| tree | ccb93fa9a40d9df50289e4b421748d086aaf37a2 /Project-Unite | |
| parent | 280fa76bdd3360b446cdd8b5782a77c7b043b041 (diff) | |
| download | project-unite-662bffcdf0cfc02ef8c85d55170243a44beee22b.tar.gz project-unite-662bffcdf0cfc02ef8c85d55170243a44beee22b.tar.bz2 project-unite-662bffcdf0cfc02ef8c85d55170243a44beee22b.zip | |
Resize images
Diffstat (limited to 'Project-Unite')
| -rw-r--r-- | Project-Unite/Content/Site.css | 6 | ||||
| -rw-r--r-- | Project-Unite/Views/Forum/ViewTopic.cshtml | 2 |
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> |
