{foreach from=$notifications[notifications] item=notification}
- <li class="jsNotificationItem" data-link="{$notification[event]->getLink()}" data-notification-id="{@$notification[notificationID]}">
+ <li class="jsNotificationItem notificationItem" data-link="{$notification[event]->getLink()}" data-notification-id="{@$notification[notificationID]}">
<a class="box24">
<div class="framed">
{@$notification[event]->getAuthor()->getAvatar()->getImageTag(24)}
color: @wcfDropdownColor;
cursor: pointer;
display: block;
+ max-width: 300px;
+ overflow: hidden;
padding: @wcfGapTiny @wcfGapMedium;
text-decoration: none;
+ text-overflow: ellipsis;
white-space: nowrap;
.textShadow(@wcfDropdownBackgroundColor);
.textShadow(@wcfDropdownHoverBackgroundColor);
}
+
+ > div > h3 {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
}
> label {
font-size: @wcfSmallFontSize;
}
}
+
+ &.notificationItem {
+ > a {
+ white-space: normal;
+
+ > div > h3 {
+ font-size: @wcfSmallFontSize;
+ }
+ }
+ }
}
}
> a,
> span {
+ max-width: none;
white-space: normal;
}
}