]> cat aescling's git repositories - mastodon.git/commitdiff
Add more specific class names to notification divs (#1120)
authorChris Martin <ch.martin@gmail.com>
Mon, 10 Apr 2017 20:41:52 +0000 (16:41 -0400)
committerEugen <eugen@zeonfederated.com>
Mon, 10 Apr 2017 20:41:52 +0000 (22:41 +0200)
app/assets/javascripts/components/features/notifications/components/notification.jsx

index 0de4df52ebe3eaea4ef7b79ce95b06c4ebafcf8a..c9279b20e825622060e29b94f785ed67b574cc4f 100644 (file)
@@ -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' />