소스 검색

Merge pull request #2846 from weseek/fix-design-in-pageAttachment

apply design
Yuki Takei 5 년 전
부모
커밋
892639f227
1개의 변경된 파일6개의 추가작업 그리고 10개의 파일을 삭제
  1. 6 10
      src/client/js/components/PageAttachment/Attachment.jsx

+ 6 - 10
src/client/js/components/PageAttachment/Attachment.jsx

@@ -54,19 +54,15 @@ export default class Attachment extends React.Component {
       : '';
 
     return (
-      <div className="attachment">
+      <div className="attachment mb-2">
         <span className="mr-1 attachment-userpicture">
           <UserPicture user={attachment.creator} size="sm"></UserPicture>
         </span>
-
-        <a href={attachment.filePathProxied}><i className={formatIcon}></i> {attachment.originalName}</a>
-
-        {fileType}
-
-        {fileInUse}
-
-        {btnDownload}
-        {btnTrash}
+        <a className="mr-2" href={attachment.filePathProxied}><i className={formatIcon}></i> {attachment.originalName}</a>
+        <span className="mr-2">{fileType}</span>
+        <span className="mr-2">{fileInUse}</span>
+        <span className="mr-2">{btnDownload}</span>
+        <span className="mr-2">{btnTrash}</span>
       </div>
     );
   }