diff --git a/src/components/notifications/NotificationMenuEntry.vue b/src/components/notifications/NotificationMenuEntry.vue index a8439715..55cdc2e6 100644 --- a/src/components/notifications/NotificationMenuEntry.vue +++ b/src/components/notifications/NotificationMenuEntry.vue @@ -1,5 +1,5 @@ -

+

$1') + return this.entry.description.replace( + /(\bhttps?:\/\/[-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|])/gim, + '$1' + ) } get alertColor() { @@ -153,4 +158,12 @@ export default class NotificationMenuEntry extends Mixins(BaseMixin) { .notification-menu-entry__headline { line-height: 1.2; } + +.notification-menu-entry__description { + max-width: 292px; +} + +.notification-menu-entry--priority-critical .notification-menu-entry__description { + max-width: 336px; +}