diff --git a/packages/app/src/components/PostCard/components/attachments/index.less b/packages/app/src/components/PostCard/components/attachments/index.less index 4774079a..bac3e79a 100755 --- a/packages/app/src/components/PostCard/components/attachments/index.less +++ b/packages/app/src/components/PostCard/components/attachments/index.less @@ -1,6 +1,4 @@ .post_attachments { - position: relative; - display: flex; width: 100%; diff --git a/packages/app/src/components/PostCard/components/header/index.less b/packages/app/src/components/PostCard/components/header/index.less index a4a4fdde..9c63576f 100755 --- a/packages/app/src/components/PostCard/components/header/index.less +++ b/packages/app/src/components/PostCard/components/header/index.less @@ -1,15 +1,15 @@ .post_header { - display: inline-flex; + display: flex; flex-direction: row; justify-content: space-between; + margin-bottom: 15px; + .user { display: inline-flex; flex-direction: row; align-items: center; - margin-bottom: 15px; - >div { margin-right: 10px; } diff --git a/packages/app/src/components/PostCard/index.jsx b/packages/app/src/components/PostCard/index.jsx index 9b141c8c..e4b6d8c1 100755 --- a/packages/app/src/components/PostCard/index.jsx +++ b/packages/app/src/components/PostCard/index.jsx @@ -167,46 +167,45 @@ export default class PostCard extends React.PureComponent { context-menu={"postCard-context"} user-id={this.props.data.user_id} > -