blog photo size
This commit is contained in:
@ -67,9 +67,9 @@
|
||||
<div class="row @trclass">
|
||||
<div class="col-xs-10">
|
||||
<a asp-action="Title" asp-route-id="@title" >
|
||||
@if (first.Photo==null) { }
|
||||
else {<img src="@first.Photo" class="smallphoto" alt="@first.Title">}
|
||||
<markdown>@first.Title</markdown>
|
||||
@if (first.Photo==null) { }
|
||||
else {<img src="@first.Photo" class="blogphoto" alt="@first.Title">}
|
||||
</a>
|
||||
|
||||
<markdown>@((first.Content?.Length > 120) ? first.Content.Substring(0, 120) + " ..." : first.Content)</markdown>
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
<tr class="@trclass">
|
||||
<td><a asp-action="Details" asp-route-id="@item.Id" class="bloglink">
|
||||
<img src="@item.Photo" class="smallphoto"></a>
|
||||
<img src="@item.Photo" class="blogphoto"></a>
|
||||
</td>
|
||||
<td>
|
||||
<markdown>@((item.Content?.Length > 120) ? item.Content.Substring(0, 122) + " ..." : item.Content)</markdown>
|
||||
|
@ -374,6 +374,8 @@ footer {
|
||||
.blogphoto {
|
||||
float: left;
|
||||
margin: 1em;
|
||||
max-width: 100em;
|
||||
max-height: 100em;
|
||||
}
|
||||
|
||||
.dl-horizontal dd {
|
||||
|
Reference in New Issue
Block a user