forked from treehouse/mastodon
Add more specific class names to notification divs (#1120)
parent
0dbbc16c69
commit
ae57b3a8c5
|
@ -21,7 +21,7 @@ const Notification = React.createClass({
|
||||||
|
|
||||||
renderFollow (account, link) {
|
renderFollow (account, link) {
|
||||||
return (
|
return (
|
||||||
<div className='notification'>
|
<div className='notification notification-follow'>
|
||||||
<div className='notification__message'>
|
<div className='notification__message'>
|
||||||
<div style={{ position: 'absolute', 'left': '-26px'}}>
|
<div style={{ position: 'absolute', 'left': '-26px'}}>
|
||||||
<i className='fa fa-fw fa-user-plus' />
|
<i className='fa fa-fw fa-user-plus' />
|
||||||
|
@ -41,7 +41,7 @@ const Notification = React.createClass({
|
||||||
|
|
||||||
renderFavourite (notification, link) {
|
renderFavourite (notification, link) {
|
||||||
return (
|
return (
|
||||||
<div className='notification'>
|
<div className='notification notification-favourite'>
|
||||||
<div className='notification__message'>
|
<div className='notification__message'>
|
||||||
<div style={{ position: 'absolute', 'left': '-26px'}}>
|
<div style={{ position: 'absolute', 'left': '-26px'}}>
|
||||||
<i className='fa fa-fw fa-star' style={{ color: '#ca8f04' }} />
|
<i className='fa fa-fw fa-star' style={{ color: '#ca8f04' }} />
|
||||||
|
@ -57,7 +57,7 @@ const Notification = React.createClass({
|
||||||
|
|
||||||
renderReblog (notification, link) {
|
renderReblog (notification, link) {
|
||||||
return (
|
return (
|
||||||
<div className='notification'>
|
<div className='notification notification-reblog'>
|
||||||
<div className='notification__message'>
|
<div className='notification__message'>
|
||||||
<div style={{ position: 'absolute', 'left': '-26px'}}>
|
<div style={{ position: 'absolute', 'left': '-26px'}}>
|
||||||
<i className='fa fa-fw fa-retweet' />
|
<i className='fa fa-fw fa-retweet' />
|
||||||
|
|
Loading…
Reference in New Issue