diff --git a/assets/less/mio/classes/changelog.less b/assets/less/mio/classes/changelog.less index df165b89..cb5ed504 100644 --- a/assets/less/mio/classes/changelog.less +++ b/assets/less/mio/classes/changelog.less @@ -40,22 +40,24 @@ &__user, &__action { - display: inline-flex; color: inherit; flex: 0 0 auto; margin-right: 1px; - justify-content: center; - align-items: center; text-decoration: none; + display: flex; + align-items: center; &:hover { text-decoration: underline; } + + &__text { + width: 100%; + } } &__user { min-width: 100px; - justify-content: left; padding-left: 4px; @media (max-width: @mio-changelog-mobile) { @@ -65,9 +67,12 @@ &__action { min-width: 80px; - justify-content: right; padding-right: 4px; + &__text { + text-align: right; + } + @media (max-width: @mio-changelog-mobile) { margin-right: 0; } diff --git a/public/changelog.php b/public/changelog.php index 744315e9..b5b16305 100644 --- a/public/changelog.php +++ b/public/changelog.php @@ -11,6 +11,7 @@ $changelogRange = 30; $changelogChange = (int)($_GET['c'] ?? 0); $changelogDate = $_GET['d'] ?? ''; +$changelogUser = (int)($_GET['u'] ?? 0); $tpl->vars([ 'changelog_offset' => $changelogOffset, diff --git a/views/mio/changelog/macros.twig b/views/mio/changelog/macros.twig index c8e1cfb7..db79381a 100644 --- a/views/mio/changelog/macros.twig +++ b/views/mio/changelog/macros.twig @@ -32,13 +32,17 @@ - {{ change.action_name|default('Unknown') }} + + {{ change.action_name|default('Unknown') }} + - {{ change.username }} + + {{ change.username }} +