No div in p

This commit is contained in:
Chi Vinh Le
2017-06-15 23:31:30 +07:00
parent 312103098c
commit 5a2ce0f6a7
2 changed files with 9 additions and 1 deletions
@@ -93,7 +93,11 @@ class ModerationQueue extends React.Component {
})
}
</CSSTransitionGroup>
{comments.length === 0 && <p><EmptyCard>{t('modqueue.empty_queue')}</EmptyCard></p>}
{comments.length === 0 &&
<div className={styles.emptyCardContainer}>
<EmptyCard>{t('modqueue.empty_queue')}</EmptyCard>
</div>
}
<LoadMore
loadMore={this.loadMore}
@@ -480,6 +480,10 @@ span {
cursor: pointer;
}
.emptyCardContainer {
margin-top: 16px;
}
.commentLeave {
opacity: 1.0;
transition: opacity 800ms;