mirror of
https://github.com/wassname/talk.git
synced 2026-07-10 00:52:51 +08:00
No div in p
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user