0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Prevent notifications from being too tall and unclosable

Closes #1558

- Adds a wrapping tag around the notification message
- Change tests to look for new wrapping tag

For the fix to work properly, it needs styles from the [0.8 branch](b98029911c) of Ghost-UI
This commit is contained in:
Paul Adam Davis 2014-06-24 13:30:33 +01:00
parent 3d18c6f3c5
commit a188f96715

View file

@ -1,4 +1,6 @@
<section {{bind-attr class=":js-notification message.typeClass"}}>
{{{message.message}}}
<span class="notification-message">
{{{message.message}}}
</span>
<a class="close" {{action "closeNotification"}}><span class="hidden">Close</span></a>
</section>