diff --git a/assets/less/classes/changelog.less b/assets/less/classes/changelog.less index 3e67659b..3c76e667 100644 --- a/assets/less/classes/changelog.less +++ b/assets/less/classes/changelog.less @@ -1,20 +1,11 @@ .changelog { display: flex; - margin: 1px; + margin: 4px; @media (max-width: @site-mobile-width) { flex-wrap: wrap; } - &:not(:last-child) { - margin-bottom: 1px; - - @media (max-width: @site-mobile-width) { - border-bottom: 1px solid var(--accent-colour); - padding-bottom: 1px; - } - } - &__pagination { margin: 1px; } @@ -83,11 +74,13 @@ } &__action { - min-width: 80px; - padding-right: 4px; + border-radius: 2px; + min-width: 5px; &__text { text-align: right; + min-width: 80px; + padding-right: 4px; } @media (max-width: @site-mobile-width) { diff --git a/templates/changelog/macros.twig b/templates/changelog/macros.twig index 5c33b4bc..40e01a07 100644 --- a/templates/changelog/macros.twig +++ b/templates/changelog/macros.twig @@ -1,6 +1,7 @@ -{% macro changelog_listing(changes, hide_dates, is_manage, change_url, date_url, tag_url, user_url) %} +{% macro changelog_listing(changes, hide_dates, is_manage, change_url, date_url, tag_url, user_url, is_small) %} {% set hide_dates = hide_dates ? true : false %} {% set is_manage = is_manage ? true : false %} + {% set is_small = is_small ? true : false %} {% set last_date = '' %} {% set date_url = date_url|default('/changelog.php?d=%s') %} @@ -17,7 +18,7 @@ {% endif %} - {{ changelog_entry(change, is_manage, change_url, tag_url, user_url) }} + {{ changelog_entry(change, is_manage, change_url, tag_url, user_url, is_small) }} {% endfor %} {% else %}