1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Fix layout at RealtimeNotification

This commit is contained in:
Kazu Yokomizo
2017-09-22 22:56:32 +09:00
parent c762b9ae00
commit 9861fbf7c8
4 changed files with 24 additions and 9 deletions

View File

@@ -37,7 +37,7 @@ class RealtimeNotification extends React.Component {
render () {
const { notifications } = this.state
const link = notifications.length > 0
? <a href={notifications[0].linkUrl}
? <a styleName='notification-link' href={notifications[0].linkUrl}
onClick={(e) => this.handleLinkClick(e)}
>
{notifications[0].text}
@@ -45,7 +45,7 @@ class RealtimeNotification extends React.Component {
: ''
return (
<div>{link}</div>
<div styleName='notification-area'>{link}</div>
)
}
}