forked from organicmaps/website
Better news styling
This commit is contained in:
parent
a6ed134ade
commit
1f9cff4e2e
2 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue