Browse Source

https://github.com/tracim/tracim/issues/630, changing the position between the author and the time of the commentary

AlexiCauvin 6 years ago
parent
commit
a13ce374ba
1 changed files with 4 additions and 2 deletions
  1. 4 2
      frontend_lib/src/component/Timeline/Comment.jsx

+ 4 - 2
frontend_lib/src/component/Timeline/Comment.jsx View File

26
         </div>
26
         </div>
27
       </div>
27
       </div>
28
       <div className={classnames(`${props.customClass}__messagelist__item__authorandhour`, 'timeline__body__messagelist__item__authorandhour')}>
28
       <div className={classnames(`${props.customClass}__messagelist__item__authorandhour`, 'timeline__body__messagelist__item__authorandhour')}>
29
-        <div className='mr-5'>
29
+        <div className={classnames(`${props.customClass}__messagelist__item__authorandhour__author`, 'timeline__body__messagelist__item__authorandhour__author')}>
30
+          {props.author}
31
+        </div>
32
+        <div className={classnames(`${props.customClass}__messagelist__item__authorandhour__date`, 'timeline__body__messagelist__item__authorandhour__date')}>
30
           {props.createdAt}
33
           {props.createdAt}
31
         </div>
34
         </div>
32
-        {props.author}
33
       </div>
35
       </div>
34
       <div
36
       <div
35
         className={classnames(`${props.customClass}__messagelist__item__content`, 'timeline__body__messagelist__item__content')}
37
         className={classnames(`${props.customClass}__messagelist__item__content`, 'timeline__body__messagelist__item__content')}