diff --git a/assets/misuzu.css/settings/account-logs.css b/assets/misuzu.css/settings/account-logs.css index f4e0674..c3be492 100644 --- a/assets/misuzu.css/settings/account-logs.css +++ b/assets/misuzu.css/settings/account-logs.css @@ -1,6 +1,10 @@ .settings__account-logs__pagination { margin: 4px; } +.settings__account-logs__none { + padding: 2px 5px; + text-align: center; +} .settings__account-log { border: 1px solid var(--accent-colour); diff --git a/templates/settings/logs.twig b/templates/settings/logs.twig index e2c0213..87fe395 100644 --- a/templates/settings/logs.twig +++ b/templates/settings/logs.twig @@ -51,9 +51,15 @@ {{ alpagination }} - {% for log in account_log_list %} - {{ user_account_log(log) }} - {% endfor %} + {% if account_log_list|length < 1 %} +