浏览代码

Add more specific class names to notification divs (#1120)

master
Chris Martin 7 年前
committed by Eugen
父节点
当前提交
ae57b3a8c5
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      app/assets/javascripts/components/features/notifications/components/notification.jsx

+ 3
- 3
app/assets/javascripts/components/features/notifications/components/notification.jsx 查看文件

@@ -21,7 +21,7 @@ const Notification = React.createClass({

renderFollow (account, link) {
return (
<div className='notification'>
<div className='notification notification-follow'>
<div className='notification__message'>
<div style={{ position: 'absolute', 'left': '-26px'}}>
<i className='fa fa-fw fa-user-plus' />
@@ -41,7 +41,7 @@ const Notification = React.createClass({

renderFavourite (notification, link) {
return (
<div className='notification'>
<div className='notification notification-favourite'>
<div className='notification__message'>
<div style={{ position: 'absolute', 'left': '-26px'}}>
<i className='fa fa-fw fa-star' style={{ color: '#ca8f04' }} />
@@ -57,7 +57,7 @@ const Notification = React.createClass({

renderReblog (notification, link) {
return (
<div className='notification'>
<div className='notification notification-reblog'>
<div className='notification__message'>
<div style={{ position: 'absolute', 'left': '-26px'}}>
<i className='fa fa-fw fa-retweet' />


正在加载...
取消
保存