Skip to content

Commit

Permalink
initial update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhehuazhou committed Jul 29, 2024
1 parent 5709ab0 commit 51145da
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions _includes/archive-single_double.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,11 @@
vertical-align:top;
margin-top:0px;
}

.fill { object-fit: fill; }
.col-left img {
height: 100%;
width: 100%;
object-fit: fill;
}

.col-right {
display: table-cell;
Expand Down Expand Up @@ -82,7 +85,7 @@
<div class="col-container">
<div class="col-left" style="background:orange">
{% if post.teaser %}
<img src= "{{ post.teaser }}" class="col-container fill">
<img src= "{{ post.teaser }}">
{% endif %}
</div>

Expand Down

0 comments on commit 51145da

Please sign in to comment.