mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-11-22 11:23:29 +01:00
this is the least fun i've ever had with web design
This commit is contained in:
parent
3341056607
commit
f3076d1db1
2 changed files with 2 additions and 5 deletions
|
@ -12,9 +12,7 @@
|
|||
{% else %}
|
||||
{% assign url = post.url | append: post.image %}
|
||||
{% endif %}
|
||||
<div class="devlog-image">
|
||||
<img src="{{ url }}" width="100%" alt="Cover image for post {{ post.title }}">
|
||||
</div>
|
||||
<img src="{{ url }}" class="devlog-image" width="100%" height="120px" alt="Cover image for post {{ post.title }}">
|
||||
{% endif %}
|
||||
<h4 class="devlog-title">{{ post.title }}</h4>
|
||||
<div class="text-muted">{{ post.date | date_to_string }}</div>
|
||||
|
|
|
@ -158,8 +158,7 @@ a:visited.wide-link {
|
|||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.devlog-image img {
|
||||
height: 120px;
|
||||
.devlog-image {
|
||||
object-fit: cover;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue