Selaa lähdekoodia

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

AlexiCauvin 6 vuotta sitten
vanhempi
commit
a13ce374ba
1 muutettua tiedostoa jossa 4 lisäystä ja 2 poistoa
  1. 4 2
      frontend_lib/src/component/Timeline/Comment.jsx

+ 4 - 2
frontend_lib/src/component/Timeline/Comment.jsx Näytä tiedosto

@@ -26,10 +26,12 @@ const Comment = props => {
26 26
         </div>
27 27
       </div>
28 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 33
           {props.createdAt}
31 34
         </div>
32
-        {props.author}
33 35
       </div>
34 36
       <div
35 37
         className={classnames(`${props.customClass}__messagelist__item__content`, 'timeline__body__messagelist__item__content')}