Better news styling

This commit is contained in:
Alexander Borsuk 2022-02-15 00:47:05 +01:00
parent a6ed134ade
commit 1f9cff4e2e
2 changed files with 5 additions and 3 deletions

View file

@ -208,12 +208,14 @@ img {
max-width: 90%;
}
.news_image {
max-height: 480px;
max-height: 520px;
margin-left: 0.5rem;
display: inline-block;
vertical-align: top;
}
.news_content {
display: inline-block;
width: 100%;
}
.back_to_news {
margin-top: 1rem;
}

View file

@ -12,7 +12,7 @@
<img class="news_image" src="{{ resource.path }}/{{ photo | split(pat='/') | last }}" />
{% endfor %}
<div>
<div class="back_to_news">
<a href="/news">{{ trans(key='back') }}</a>
</div>