Skip to content

Changes

Summary

  1. Notification: improve handling of empty message (commit: 8240f02) (details)
Commit 8240f0295ea035627d904598f794df3a946f808e by Beat Schwarzentrub
Notification: improve handling of empty message

Use a zero-width pseudo-element to prevent the div from collapsing
instead of using a   character. This way, $messageText.text() will
return an empty string instead of a non-breaking white-space. This can
be useful for subclasses that want to hide the div entirely when it
contains no text.
(commit: 8240f02)
The file was modified eclipse-scout-core/src/notification/Notification.ts (diff)
The file was modified eclipse-scout-core/src/desktop/notification/DesktopNotification.less (diff)
The file was modified eclipse-scout-core/src/notification/Notification.less (diff)