Explorar o código

delete li add div

zahmis %!s(int64=5) %!d(string=hai) anos
pai
achega
3f2db39aef
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/client/js/components/PageAttachment/Attachment.jsx

+ 2 - 2
src/client/js/components/PageAttachment/Attachment.jsx

@@ -54,7 +54,7 @@ export default class Attachment extends React.Component {
       : '';
 
     return (
-      <li className="attachment">
+      <div className="attachment">
         <span className="mr-1 attachment-userpicture">
           <UserPicture user={attachment.creator} size="sm"></UserPicture>
         </span>
@@ -67,7 +67,7 @@ export default class Attachment extends React.Component {
 
         {btnDownload}
         {btnTrash}
-      </li>
+      </div>
     );
   }