Made changelog date headers not look out of place.

This commit is contained in:
flash 2018-09-16 23:20:30 +02:00
parent 88f3bd8069
commit 74fa937332
2 changed files with 8 additions and 3 deletions

View file

@ -1,5 +1,6 @@
.changelog {
display: flex;
margin: 1px;
@media (max-width: @site-mobile-width) {
flex-wrap: wrap;
@ -14,10 +15,14 @@
}
}
&__content {
&__pagination {
margin: 1px;
}
&__content {
margin: 0;
}
&__none {
margin: 1px 4px;
}
@ -29,7 +34,7 @@
// date header in public changelog
&__date {
display: block;
background: var(--accent-colour);
background-image: linear-gradient(0deg, var(--accent-colour), transparent);
color: var(--text-colour-header);
font-weight: 700;
margin-bottom: 1px;

View file

@ -33,7 +33,7 @@
{{ pagination(changelog_count, changelog_take, changelog_offset, '/changelog.php'|url_construct({
'd': changelog_date,
'u': changelog_user ? changelog_user : ''
})) }}
}), 'changelog__') }}
{% endif %}
</div>
</div>