</p>
<p><small>{@$notification[time]|time}</small></p>
- <ul>
+ <ul class="userAvatarList small">
{foreach from=$notification[event]->getAuthors() item=author}
{if $author->userID}
- <li style="display: inline-block" class="jsTooltip" title="{$author->username}"><a href="{link controller='User' object=$author}{/link}">{@$author->getAvatar()->getImageTag(24)}</a></li>
+ <li class="jsTooltip" title="{$author->username}"><a href="{link controller='User' object=$author}{/link}">{@$author->getAvatar()->getImageTag(24)}</a></li>
{/if}
{/foreach}
</ul>
}
}
}
+
+ &.small {
+ > li {
+ flex: 0 0 24px;
+
+ &:not(:last-child) {
+ margin-right: -6px;
+ }
+
+ > a {
+ > img {
+ padding: 1px;
+ }
+ }
+ }
+ }
}
.userList {
@include wcfFontSmall;
}
+
+/* user notifications */
+.userNotificationItemList > .notificationItem {
+ &.notificationUnconfirmed {
+ align-items: center;
+ display: flex;
+
+ > .box32 {
+ flex: 1 1 auto;
+ }
+
+ > .notificationItemMarkAsConfirmed {
+ flex: 0 0 auto;
+ }
+ }
+}